From 44a15ab801feea4c1dcc1c25795f6658a570ed01 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Fri, 26 Nov 2021 11:03:40 +1300 Subject: lib/tests: Use standard test syntax For consistency. --- lib/tests/modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index b34eda74e0ccd..590937da5b8f0 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 -- cgit 1.4.1