mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
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.
This commit is contained in:
parent
77a8386022
commit
414c346560
1 changed files with 1 additions and 3 deletions
|
@ -25,7 +25,7 @@ done
|
||||||
|
|
||||||
# FIXME: we don't know whether we built the manpages, so we can't
|
# FIXME: we don't know whether we built the manpages, so we can't
|
||||||
# reliably test them here.
|
# 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
|
# test help output
|
||||||
|
|
||||||
|
@ -74,5 +74,3 @@ nix-daemon --help
|
||||||
nix-hash --help
|
nix-hash --help
|
||||||
nix-instantiate --help
|
nix-instantiate --help
|
||||||
nix-prefetch-url --help
|
nix-prefetch-url --help
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue