projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa895b
)
Fix a bashism in TestRunner.sh.
author
Dan Gohman
<gohman@apple.com>
Mon, 28 Jul 2008 18:41:03 +0000
(18:41 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 28 Jul 2008 18:41:03 +0000
(18:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54134
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/TestRunner.sh
patch
|
blob
|
history
diff --git
a/test/TestRunner.sh
b/test/TestRunner.sh
index d93eda28aab0f4fde899e86894906a3790181f9f..4f04d81aac64807458161d477465195ef6669571 100755
(executable)
--- 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"