From: Lukas Czerner Date: Thu, 8 Jul 2010 15:23:52 +0000 (+0000) Subject: xfstests: Show duration of current test X-Git-Tag: v1.1.0~146 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a323184c7767075e1fd2ec24c3139edf2be274d7;p=xfstests-dev.git xfstests: Show duration of current test It may be useful to compare both times, last and current, in the xfstests output. Signed-off-by: Lukas Czerner Signed-off-by: Alex Elder --- diff --git a/check b/check index 560ac7bf..f7920097 100755 --- a/check +++ b/check @@ -275,13 +275,14 @@ do else if diff $seq.out $tmp.out >/dev/null 2>&1 then - echo "" if $err then : else echo "$seq `expr $stop - $start`" >>$tmp.time + echo -n " `expr $stop - $start`s" fi + echo "" else echo " - output mismatch (see $seq.out.bad)" mv $tmp.out $seq.out.bad