From: Vladimir Sementsov-Ogievskiy Date: Thu, 23 Dec 2021 16:01:40 +0000 (+0100) Subject: iotest 39: use _qcow2_dump_header X-Git-Tag: v7.0.0-rc0~67^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72be51ddb3d10974da5128ad20ee5ca7a13ddd54;p=thirdparty%2Fqemu.git iotest 39: use _qcow2_dump_header _qcow2_dump_header has filter for compression type, so this change makes test pass with IMGOPTS='compression_type=zstd'. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Max Reitz Message-Id: <20211223160144.1097696-16-vsementsov@virtuozzo.com> Signed-off-by: Hanna Reitz --- diff --git a/tests/qemu-iotests/039 b/tests/qemu-iotests/039 index 8e783a83806..00d379cde25 100755 --- a/tests/qemu-iotests/039 +++ b/tests/qemu-iotests/039 @@ -142,7 +142,7 @@ $QEMU_IMG commit "$TEST_IMG" # The dirty bit must not be set _qcow2_dump_header | grep incompatible_features -$PYTHON qcow2.py "$TEST_IMG".base dump-header | grep incompatible_features +_qcow2_dump_header "$TEST_IMG".base | grep incompatible_features _check_test_img TEST_IMG="$TEST_IMG".base _check_test_img