[llvm-commits] CVS: llvm-test/RunSafely.sh TimedExec.sh
Jeff Cohen
jeffc at jolt-lang.org
Wed Jan 10 09:52:09 PST 2007
Changes in directory llvm-test:
RunSafely.sh updated: 1.24 -> 1.25
TimedExec.sh updated: 1.4 -> 1.5
---
Log message:
The proper operator for testing string equality is "=", not "==".
---
Diffs of the changes: (+2 -2)
RunSafely.sh | 2 +-
TimedExec.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm-test/RunSafely.sh
diff -u llvm-test/RunSafely.sh:1.24 llvm-test/RunSafely.sh:1.25
--- llvm-test/RunSafely.sh:1.24 Tue Nov 28 01:16:45 2006
+++ llvm-test/RunSafely.sh Wed Jan 10 11:51:45 2007
@@ -76,7 +76,7 @@
# necessary I/O redirection.
#
COMMAND="$PROGRAM $*"
-if [ $SYSTEM == Darwin ]; then
+if [ "$SYSTEM" = "Darwin" ]; then
COMMAND="${DIR}TimedExec.sh $ULIMIT $COMMAND"
fi
Index: llvm-test/TimedExec.sh
diff -u llvm-test/TimedExec.sh:1.4 llvm-test/TimedExec.sh:1.5
--- llvm-test/TimedExec.sh:1.4 Thu Jun 15 02:25:13 2006
+++ llvm-test/TimedExec.sh Wed Jan 10 11:51:45 2007
@@ -13,7 +13,7 @@
fi
PARENT=""
-if [ "$1" == "-p" ]; then
+if [ "$1" = "-p" ]; then
PARENT=$2; shift; shift;
fi
More information about the llvm-commits
mailing list