diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-12-23 17:01:40 +0100 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2022-02-01 10:51:39 +0100 |
commit | 72be51ddb3d10974da5128ad20ee5ca7a13ddd54 (patch) | |
tree | 5b4d19e74df09b9835e0a435149b36a4dc7da81e | |
parent | 984d7a52d5ca33a79e09f2617fe43e368dce4068 (diff) | |
download | qemu-72be51ddb3d10974da5128ad20ee5ca7a13ddd54.zip qemu-72be51ddb3d10974da5128ad20ee5ca7a13ddd54.tar.gz qemu-72be51ddb3d10974da5128ad20ee5ca7a13ddd54.tar.bz2 |
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 <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20211223160144.1097696-16-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
-rwxr-xr-x | tests/qemu-iotests/039 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/039 b/tests/qemu-iotests/039 index 8e783a8..00d379c 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 |