forked from mirrors/nixpkgs
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 a new issue