Skip to content

Commit

Permalink
test: Use skipTest instead of exit 0
Browse files Browse the repository at this point in the history
This way shellcheck is ok with it, and it conveys that a significant
chunk of the test is skipped.
  • Loading branch information
roberth committed Feb 7, 2025
1 parent 77a8386 commit 65f57c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/functional/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

# test help output

Expand Down Expand Up @@ -74,5 +74,3 @@ nix-daemon --help
nix-hash --help
nix-instantiate --help
nix-prefetch-url --help

fi

0 comments on commit 65f57c4

Please sign in to comment.