If a test cross two days, the time may be negative, let's use the UTC seconds instead, for example: 2014-04-03 23:43:42 ./check generic/074 generic/075 generic/112 generic/113 generic/132 generic/133 generic/231 FSTYP -- xfs (non-debug) PLATFORM -- Linux/x86_64 vpx-2 3.14.0-00001-g462fa88 MKFS_OPTIONS -- -f -bsize=4096 /dev/vdd MOUNT_OPTIONS -- /dev/vdd /fs/scratch generic/074 100s generic/075 220s generic/112 226s generic/113 188s generic/132 18s generic/133 37s generic/231 -85401s Ran: generic/074 generic/075 generic/112 generic/113 generic/132 generic/133 generic/231 Passed all 7 tests Reported-by: Yuanhan Liu <yuanhan.liu@xxxxxxxxxxxxxxx> Signed-off-by: Wanlong Gao <gaowanlong@xxxxxxxxxxxxxx> --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index 8f1a6e1..a7e33ea 100755 --- a/check +++ b/check @@ -146,7 +146,7 @@ trim_test_list() _wallclock() { - date "+%H %M %S" | $AWK_PROG '{ print $1*3600 + $2*60 + $3 }' + date "+%s" } _timestamp() -- 1.9.1.475.ge4eef26 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs