Skip to content

Commit 414c346

Browse files
committed
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.
1 parent 77a8386 commit 414c346

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/functional/help.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ done
2525

2626
# FIXME: we don't know whether we built the manpages, so we can't
2727
# reliably test them here.
28-
if false; then
28+
skipTest "we don't know whether we built the manpages, so we can't reliably test them here."
2929

3030
# test help output
3131

@@ -74,5 +74,3 @@ nix-daemon --help
7474
nix-hash --help
7575
nix-instantiate --help
7676
nix-prefetch-url --help
77-
78-
fi

0 commit comments

Comments
 (0)