summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/igt_command_line.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/igt_command_line.sh b/tests/igt_command_line.sh
index 57d105e9..8285ba62 100755
--- a/tests/igt_command_line.sh
+++ b/tests/igt_command_line.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright © 2014 Intel Corporation
#
@@ -112,7 +112,7 @@ if [ $? -ne 0 ]; then
exit 99
fi
-if [[ "$1" != "" ]] ; then
+if [ -n "$1" ] ; then
check_test $1
exit 0
fi