summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtests/docker/common.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 02cd67a8c5..ebc5b97ecf 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -47,7 +47,7 @@ build_qemu()
 check_qemu()
 {
     # default to make check unless the caller specifies
-    if test -z "$@"; then
+    if [ $# = 0 ]; then
         INVOCATION="check"
     else
         INVOCATION="$@"