Another pretty-print output change for QA "check" script.
authorNathan Scott <nathans@sgi.com>
Fri, 22 Nov 2002 07:32:41 +0000 (07:32 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 22 Nov 2002 07:32:41 +0000 (07:32 +0000)
check

diff --git a/check b/check
index 51a935c27b70cb7db1d8dbd6b4936ac1307fe3ce..7e5aa3262aa143064ab7424efb2c069b7f2d5ca6 100755 (executable)
--- a/check
+++ b/check
@@ -208,7 +208,11 @@ do
        #
        rm -f $seq.out.bad
        lasttime=`sed -n -e "/^$seq /s/.* //p" <check.time`
-       [ "X$lasttime" != X ] && echo -n " ${lasttime}s ..."
+       if [ "X$lasttime" != X ]; then
+               echo -n " ${lasttime}s ..."
+       else
+               echo -n "       "       # prettier output with timestamps.
+       fi
        rm -f core $seq.notrun
 
        # for hangcheck ...