qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu-iotests: ignore fragmentation information


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: ignore fragmentation information for qed
Date: Mon, 23 Apr 2012 10:34:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Am 23.04.2012 10:43, schrieb Dong Xu Wang:
> We added image fragmentation statistics functions to qemu-img several days
> ago, those patches will cause "./check -qed" failed. This patch will ignore
> fragmentation statistics information of qed format, and then "./check -qed"
> will work. 
> 
> 
> Signed-off-by: Dong Xu Wang <address@hidden>
> ---
>  tests/qemu-iotests/check |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
> index aae1378..b836780 100755
> --- a/tests/qemu-iotests/check
> +++ b/tests/qemu-iotests/check
> @@ -243,7 +243,7 @@ do
>               echo " - no qualified output"
>               err=true
>           else
> -             if diff -w $seq.out $tmp.out >/dev/null 2>&1
> +             if diff -w -I "fragmented$" $seq.out $tmp.out >/dev/null 2>&1
>               then
>                   echo ""
>                   if $err
> @@ -255,7 +255,7 @@ do
>               else
>                   echo " - output mismatch (see $seq.out.bad)"
>                   mv $tmp.out $seq.out.bad
> -                 $diff -w $seq.out $seq.out.bad
> +                 $diff -w -I "fragmented$" $seq.out $seq.out.bad
>                   err=true
>               fi
>           fi

Please add a pipe to grep/sed to _check_test_img in common.rc instead.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]