mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
lib/tests: Use standard test syntax
For consistency.
This commit is contained in:
parent
b8f8589e9a
commit
44a15ab801
@ -290,7 +290,7 @@ $pass Pass
|
||||
$fail Fail
|
||||
EOF
|
||||
|
||||
if test $fail -ne 0; then
|
||||
if [ "$fail" -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user