diff options
author | Victor Engmark <vengmark@linz.govt.nz> | 2021-11-26 11:03:40 +1300 |
---|---|---|
committer | Victor Engmark <vengmark@linz.govt.nz> | 2021-11-26 11:03:40 +1300 |
commit | 44a15ab801feea4c1dcc1c25795f6658a570ed01 (patch) | |
tree | 8ab9d087efc76d1df5e04293d2cf7d8cb9ee3db6 | |
parent | b8f8589e9a65136eaaa703ae7f628e3c9b30fc87 (diff) |
lib/tests: Use standard test syntax
For consistency.
-rwxr-xr-x | lib/tests/modules.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index b34eda74e0cc..590937da5b8f 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -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 |