git.iko.soy/typeable/nixpkgs
on master help sign in
lib/tests: Use standard test syntax

For consistency.

commit44a15ab801feea4c1dcc1c25795f6658a570ed01 authorVictor Engmark <vengmark@linz.govt.nz> dateFri 26 Nov 2021, 11:03 (5 years ago) parentb8f8589
1 file changed+1−1
lib/tests/modules.sh+1−1
lib/tests/modules.sh+1−1
@@ -290,7 +290,7 @@ $pass Pass
290290$fail Fail
291291EOF
292292
293−if test $fail -ne 0; then
293+if [ "$fail" -ne 0 ]; then
294294 exit 1
295295fi
296296exit 0