Re-apply fix for PR1437 that I accidentially removed.
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@47983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
416dae22c2
Коммит
eb93a787d6
|
@ -105,7 +105,7 @@ if [ "$SYSTEM" = "Darwin" ]; then
|
|||
fi
|
||||
|
||||
if [ "x$RHOST" = x ] ; then
|
||||
( sh -c "$ULIMITCMD"; time -p sh -c "$COMMAND >$OUTFILE 2>&1 < $INFILE" ; echo exit $? ) 2>&1 \
|
||||
( sh -c "$ULIMITCMD"; time -p "$COMMAND >$OUTFILE 2>&1 < $INFILE" ; echo exit $? ) 2>&1 \
|
||||
| awk -- '\
|
||||
BEGIN { cpu = 0.0; }
|
||||
/^user/ { cpu += $2; print; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче