summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorSergey 'SnakE' Gromov <snake.scaly@gmail.com>2009-11-30 15:07:57 -0800
committerSergey 'SnakE' Gromov <snake.scaly@gmail.com>2009-11-30 15:07:57 -0800
commit22830a3080c0b4a5caf89635033e87f40342373a (patch)
tree2b6c60f7ac0f21743bff1f04f1b302044e0effb2 /test/run
parent71ddfae921aedec508a45f43e6948b2ad1114e0e (diff)
downloadgo-22830a3080c0b4a5caf89635033e87f40342373a.tar.gz
Make tests run on systems missing time utility
R=rsc CC=golang-dev http://codereview.appspot.com/164047 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run b/test/run
index 47f300fe6..b9bc5da0f 100755
--- a/test/run
+++ b/test/run
@@ -57,7 +57,7 @@ do
export F=$(basename $i .go)
export D=$dir
sed '/^\/\//!q' $i | sed 's@//@@; $d' |sed 's|./\$A.out|$E &|' >$RUNFILE
- if ! time -p bash -c "bash $RUNFILE >$TMP1FILE 2>&1" 2>$TMP2FILE
+ if ! { time -p bash -c "bash $RUNFILE >$TMP1FILE 2>&1" ; } 2>$TMP2FILE
then
echo
echo "===========" $i