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