]> git.proxmox.com Git - mirror_qemu.git/commit
tests/iotests: be a little more forgiving on the size test
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 25 Feb 2020 20:20:09 +0000 (20:20 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 25 Feb 2020 20:20:09 +0000 (20:20 +0000)
commit002375895c10df40615fc615e2639f49e0c442fe
treece394b5a100b11a4778ff6e18221ed018b308437
parentc9331e9c28184decb22ad8d66375bec03b988c7b
tests/iotests: be a little more forgiving on the size test

At least on ZFS this was failing as 512 was less than or equal to 512.
I suspect the reason is additional compression done by ZFS and however
qemu-img gets the actual size.

Loosen the criteria to make sure after is not bigger than before and
also dump the values in the report.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200225124710.14152-9-alex.bennee@linaro.org>
tests/qemu-iotests/214