X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o69DIqTg115269 for ; Fri, 9 Jul 2010 08:18:52 -0500 Received: from cf--amer001e--3.americas.sgi.com (cf--amer001e--3.americas.sgi.com [137.38.100.5]) by relay1.corp.sgi.com (Postfix) with ESMTP id A453A8F80CA; Fri, 9 Jul 2010 06:21:45 -0700 (PDT) Received: from [134.15.64.43] ([134.15.64.43]) by cf--amer001e--3.americas.sgi.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Jul 2010 08:21:45 -0500 Subject: Re: [PATCH 2/2] Show duration of current test From: Alex Elder Reply-To: aelder@sgi.com To: Lukas Czerner Cc: xfs@oss.sgi.com, esandeen@redhat.com In-Reply-To: <1278602632-12425-2-git-send-email-lczerner@redhat.com> References: <1278602632-12425-1-git-send-email-lczerner@redhat.com> <1278602632-12425-2-git-send-email-lczerner@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 09 Jul 2010 08:21:44 -0500 Message-ID: <1278681704.5154.24.camel@doink> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jul 2010 13:21:45.0512 (UTC) FILETIME=[AD9F5A80:01CB1F69] X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, 2010-07-08 at 17:23 +0200, Lukas Czerner wrote: > It may be useful to compare both times, last and current, in the > xfstests output. This one looks good. Signed-off-by: Alex Elder > Signed-off-by: Lukas Czerner > --- > check | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/check b/check > index 560ac7b..f792009 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