From 414c346560de1235119bce25da60fd68353d5ebf Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 29 Jan 2025 22:01:17 +0100 Subject: [PATCH] test: Use skipTest instead of exit 0 This way shellcheck is ok with it, and it conveys that a significant chunk of the test is skipped. --- tests/functional/help.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/functional/help.sh b/tests/functional/help.sh index efacaba59..e1ef75c41 100755 --- a/tests/functional/help.sh +++ b/tests/functional/help.sh @@ -25,7 +25,7 @@ done # FIXME: we don't know whether we built the manpages, so we can't # reliably test them here. -if false; then +skipTest "we don't know whether we built the manpages, so we can't reliably test them here." # test help output @@ -74,5 +74,3 @@ nix-daemon --help nix-hash --help nix-instantiate --help nix-prefetch-url --help - -fi