summaryrefslogtreecommitdiffstats
path: root/test/TestRunner.sh
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-07-27 05:05:07 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-07-27 05:05:07 +0000
commitfde9fe7c314c425247ad5cccccc58a1c06fc718d (patch)
tree59c662078fa3b3d358a3231b1443a30478b8e731 /test/TestRunner.sh
parentd90700108cfb45f2dda6c5a7adc11ce5ac68aa0d (diff)
Remove bashism; sh != bash on Ubuntu.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TestRunner.sh')
-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