yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
902636
From a04d324e41a40a6893bc94109994afc017f17192 Mon Sep 17 00:00:00 2001
902636
From: Eric Blake <eblake@redhat.com>
902636
Date: Tue, 2 Jun 2020 02:34:16 +0100
902636
Subject: [PATCH 11/26] iotests: Fix test 178
902636
902636
RH-Author: Eric Blake <eblake@redhat.com>
902636
Message-id: <20200602023420.2133649-9-eblake@redhat.com>
902636
Patchwork-id: 97075
902636
O-Subject: [RHEL-AV-8.2.1 qemu-kvm PATCH 08/12] iotests: Fix test 178
902636
Bugzilla: 1779893 1779904
902636
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
902636
RH-Acked-by: Max Reitz <mreitz@redhat.com>
902636
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
902636
902636
A recent change to qemu-img changed expected error message output, but
902636
178 takes long enough to execute that it does not get run by 'make
902636
check' or './check -g quick'.
902636
902636
Fixes: 43d589b074
902636
Signed-off-by: Eric Blake <eblake@redhat.com>
902636
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
902636
Message-Id: <20200521192137.1120211-2-eblake@redhat.com>
902636
(cherry picked from commit ca01b7a641527052e3e8961845b40b81706ce5f9)
902636
Signed-off-by: Eric Blake <eblake@redhat.com>
902636
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
902636
---
902636
 tests/qemu-iotests/178.out.qcow2 | 2 +-
902636
 tests/qemu-iotests/178.out.raw   | 2 +-
902636
 2 files changed, 2 insertions(+), 2 deletions(-)
902636
902636
diff --git a/tests/qemu-iotests/178.out.qcow2 b/tests/qemu-iotests/178.out.qcow2
902636
index 9e7d8c4..345eab3 100644
902636
--- a/tests/qemu-iotests/178.out.qcow2
902636
+++ b/tests/qemu-iotests/178.out.qcow2
902636
@@ -13,7 +13,7 @@ qemu-img: Invalid option list: ,
902636
 qemu-img: Invalid parameter 'snapshot.foo'
902636
 qemu-img: Failed in parsing snapshot param 'snapshot.foo'
902636
 qemu-img: --output must be used with human or json as argument.
902636
-qemu-img: Image size must be less than 8 EiB!
902636
+qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807.
902636
 qemu-img: Unknown file format 'foo'
902636
 
902636
 == Size calculation for a new file (human) ==
902636
diff --git a/tests/qemu-iotests/178.out.raw b/tests/qemu-iotests/178.out.raw
902636
index 6478365..15da915 100644
902636
--- a/tests/qemu-iotests/178.out.raw
902636
+++ b/tests/qemu-iotests/178.out.raw
902636
@@ -13,7 +13,7 @@ qemu-img: Invalid option list: ,
902636
 qemu-img: Invalid parameter 'snapshot.foo'
902636
 qemu-img: Failed in parsing snapshot param 'snapshot.foo'
902636
 qemu-img: --output must be used with human or json as argument.
902636
-qemu-img: Image size must be less than 8 EiB!
902636
+qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807.
902636
 qemu-img: Unknown file format 'foo'
902636
 
902636
 == Size calculation for a new file (human) ==
902636
-- 
902636
1.8.3.1
902636