summaryrefslogtreecommitdiff
path: root/test/TestRunner.sh
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-28 18:41:03 +0000
committerDan Gohman <gohman@apple.com>2008-07-28 18:41:03 +0000
commit171f3dcff17cc1127353a92268b72329c8094604 (patch)
tree624d56dd0ee102136400d50ec6af824ece0ef28f /test/TestRunner.sh
parent8aa895b19a64796a4c1f7cd0cb0750ad34263ea0 (diff)
downloadllvm-171f3dcff17cc1127353a92268b72329c8094604.tar.gz
llvm-171f3dcff17cc1127353a92268b72329c8094604.tar.bz2
llvm-171f3dcff17cc1127353a92268b72329c8094604.tar.xz
Fix a bashism in TestRunner.sh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TestRunner.sh')
-rwxr-xr-xtest/TestRunner.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh
index d93eda28aa..4f04d81aac 100755
--- a/test/TestRunner.sh
+++ b/test/TestRunner.sh
@@ -13,7 +13,7 @@
#
TESTPATH=`pwd`
SUBDIR=""
-if test `dirname $1` == "." ; then
+if test `dirname $1` = "." ; then
while test `basename $TESTPATH` != "test" -a ! -z "$TESTPATH" ; do
tmp=`basename $TESTPATH`
SUBDIR="$tmp/$SUBDIR"
@@ -22,7 +22,7 @@ if test `dirname $1` == "." ; then
fi
for TESTFILE in "$@" ; do
- if test `dirname $TESTFILE` == . ; then
+ if test `dirname $TESTFILE` = . ; then
if test -d "$TESTPATH" ; then
cd $TESTPATH
make check-one TESTONE="$SUBDIR$TESTFILE"