From ffbeff6cd72f06ee3c3e0ee63fc9f5afe1b16316 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 24 Apr 2024 21:51:19 -0600 Subject: [PATCH] tests: Correctly skip single fsverity test The skip shell function is for skipping an entire test plan. To skip a single test result, a directive is needed[1]. Without this change, the test suite errors claiming that 2 test plans were provided when fsverity isn't available. 1. https://testanything.org/tap-specification.html#skipping-tests --- tests/test-rofiles-fuse.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-rofiles-fuse.sh b/tests/test-rofiles-fuse.sh index 0ac55764..b47bb367 100755 --- a/tests/test-rofiles-fuse.sh +++ b/tests/test-rofiles-fuse.sh @@ -208,5 +208,5 @@ if fsverity enable checkout-test2/nonhardlinked 2>err.txt; then assert_not_streq "${orig_inode}" "${new_inode}" echo "ok copyup fsverity" else - skip "no fsverity support: $(cat err.txt)" -fi \ No newline at end of file + echo "ok copyup fsverity # SKIP no fsverity support: $(cat err.txt)" +fi -- 2.30.2