public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Czerner <lczerner@redhat.com>
To: xfs@oss.sgi.com
Cc: lczerner@redhat.com, esandeen@redhat.com
Subject: [PATCH 2/2] Show duration of current test
Date: Thu,  8 Jul 2010 17:23:52 +0200	[thread overview]
Message-ID: <1278602632-12425-2-git-send-email-lczerner@redhat.com> (raw)
In-Reply-To: <1278602632-12425-1-git-send-email-lczerner@redhat.com>

It may be useful to compare both times, last and current, in the
xfstests output.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 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
-- 
1.7.1.1

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2010-07-08 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 15:23 [PATCH 1/2] Allow to specify unsupported file systems Lukas Czerner
2010-07-08 15:23 ` Lukas Czerner [this message]
2010-07-09 13:21   ` [PATCH 2/2] Show duration of current test Alex Elder
2010-07-09 13:14 ` [PATCH 1/2] Allow to specify unsupported file systems Alex Elder
2010-07-09 13:28   ` Lukas Czerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1278602632-12425-2-git-send-email-lczerner@redhat.com \
    --to=lczerner@redhat.com \
    --cc=esandeen@redhat.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox