qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-2.3 0/2] block: Fix for trailing whitespace


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH for-2.3 0/2] block: Fix for trailing whitespace in qemu-img create and its tests
Date: Thu, 11 Dec 2014 09:43:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Fam Zheng <address@hidden> writes:

> On Wed, 12/10 13:50, Markus Armbruster wrote:
>> Fam Zheng <address@hidden> writes:
>> 
>> > This will make it easier to keep checkpatch.pl happy.
>> >
>> > Fam Zheng (2):
>> >   qemu-iotests: Remove traling whitespaces in *.out
>> >   block: Don't add trailing space in "Formating..." message
>> 
>> Sounds like PATCH 1 breaks the test, and PATCH 2 unbreaks it.  If that's
>> the case, they need to be squashed.
>
> No. Our qemu-iotests driver ignores ending space:
>
>     if diff -w "$reference" $tmp.out >/dev/null 2>&1
>     then
>         echo ""
>         if $err
>         then
>             :
>         else
>             echo "$seq `expr $stop - $start`" >>$tmp.time
>         fi
>     else
>         echo " - output mismatch (see $seq.out.bad)"
>         mv $tmp.out $seq.out.bad
>         $diff -w "$reference" $seq.out.bad
>         err=true
>     fi

Right, thanks for the reminder :)

> Are you happy with the "sep" or do you want a full-fledged version?

Your choice.  The function is kind of odd, but it's not an important
one.

Series
Reviewed-by: Markus Armbruster <address@hidden>



reply via email to

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