From: Dan Nicholson Date: Thu, 25 Apr 2024 03:51:19 +0000 (-0600) Subject: tests: Correctly skip single fsverity test X-Git-Tag: archive/raspbian/2024.8-1+rpi1^2~7^2~2^2~8^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ffbeff6cd72f06ee3c3e0ee63fc9f5afe1b16316;p=ostree.git 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 --- 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