[PATCH 2/2] Show duration of current test

Alex Elder aelder at sgi.com
Fri Jul 9 08:21:44 CDT 2010


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 <aelder at sgi.com>

> Signed-off-by: Lukas Czerner <lczerner at 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






More information about the xfs mailing list