From: Sergey 'SnakE' Gromov Date: Mon, 30 Nov 2009 23:07:57 +0000 (-0800) Subject: Make tests run on systems missing time utility X-Git-Tag: weekly.2009-12-07~98 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=842d69b03d67e9e8f7956684828c2f50d43d50e4;p=gostls13.git Make tests run on systems missing time utility R=rsc CC=golang-dev https://golang.org/cl/164047 --- diff --git a/test/run b/test/run index 47f300fe6d..b9bc5da0f2 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