diff mbox series

iotests/059: Fix reference output

Message ID 20200811084150.326377-1-mreitz@redhat.com
State New
Headers show
Series iotests/059: Fix reference output | expand

Commit Message

Max Reitz Aug. 11, 2020, 8:41 a.m. UTC
As of the patch to flush qemu-img's "Formatting" message before the
error message, 059 has been broken for vmdk.  Fix it.

Fixes: 4e2f4418784da09cb106264340241856cd2846df
       ("qemu-img: Flush stdout before before potential stderr messages")
Signed-off-by: Max Reitz <mreitz@redhat.com>
---
 tests/qemu-iotests/059.out | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Blake Aug. 11, 2020, 1:10 p.m. UTC | #1
On 8/11/20 3:41 AM, Max Reitz wrote:
> As of the patch to flush qemu-img's "Formatting" message before the
> error message, 059 has been broken for vmdk.  Fix it.
> 
> Fixes: 4e2f4418784da09cb106264340241856cd2846df
>         ("qemu-img: Flush stdout before before potential stderr messages")
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> ---
>   tests/qemu-iotests/059.out | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/tests/qemu-iotests/059.out b/tests/qemu-iotests/059.out
> index 6d127e28d8..2b83c0c8b6 100644
> --- a/tests/qemu-iotests/059.out
> +++ b/tests/qemu-iotests/059.out
> @@ -19,8 +19,8 @@ file format: IMGFMT
>   virtual size: 2 GiB (2147483648 bytes)
>   
>   === Testing monolithicFlat with zeroed_grain ===
> -qemu-img: TEST_DIR/t.IMGFMT: Flat image can't enable zeroed grain
>   Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648
> +qemu-img: TEST_DIR/t.IMGFMT: Flat image can't enable zeroed grain
>   
>   === Testing big twoGbMaxExtentFlat ===
>   Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824000
>
diff mbox series

Patch

diff --git a/tests/qemu-iotests/059.out b/tests/qemu-iotests/059.out
index 6d127e28d8..2b83c0c8b6 100644
--- a/tests/qemu-iotests/059.out
+++ b/tests/qemu-iotests/059.out
@@ -19,8 +19,8 @@  file format: IMGFMT
 virtual size: 2 GiB (2147483648 bytes)
 
 === Testing monolithicFlat with zeroed_grain ===
-qemu-img: TEST_DIR/t.IMGFMT: Flat image can't enable zeroed grain
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648
+qemu-img: TEST_DIR/t.IMGFMT: Flat image can't enable zeroed grain
 
 === Testing big twoGbMaxExtentFlat ===
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824000