aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/TestRunner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh
index 36cec72996..767d9660d5 100755
--- a/test/TestRunner.sh
+++ b/test/TestRunner.sh
@@ -42,7 +42,7 @@ grep -q 'RUN:' $FILENAME || (
# Run under valgrind if the VG environment variable has been set.
CLANG=$CLANG
-if [ "$CLANG" == "" ]; then
+if [ ! -n "$CLANG" ]; then
CLANG="clang"
fi
if [ -n "$VG" ]; then