diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-12-23 17:01:39 +0100 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2022-02-01 10:51:39 +0100 |
commit | 984d7a52d5ca33a79e09f2617fe43e368dce4068 (patch) | |
tree | 844337e94928b06628b0ed263dab8b859babb282 /tests/qemu-iotests/137 | |
parent | c5e627a6ecdccea64a1b600857ed671a83377847 (diff) | |
download | qemu-984d7a52d5ca33a79e09f2617fe43e368dce4068.zip qemu-984d7a52d5ca33a79e09f2617fe43e368dce4068.tar.gz qemu-984d7a52d5ca33a79e09f2617fe43e368dce4068.tar.bz2 |
iotests: massive use _qcow2_dump_header
We are going to add filtering in _qcow2_dump_header and want all tests
use it.
The patch is generated by commands:
cd tests/qemu-iotests
sed -ie 's/$PYTHON qcow2.py "$TEST_IMG" dump-header\($\| \)/_qcow2_dump_header\1/' ??? tests/*
(the difficulty is to avoid converting dump-header-exts)
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20211223160144.1097696-15-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/137')
-rwxr-xr-x | tests/qemu-iotests/137 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/137 b/tests/qemu-iotests/137 index 4680d5d..52ee135 100755 --- a/tests/qemu-iotests/137 +++ b/tests/qemu-iotests/137 @@ -140,7 +140,7 @@ $QEMU_IO \ # The dirty bit must not be set # (Filter the external data file bit) -if $PYTHON qcow2.py "$TEST_IMG" dump-header | grep incompatible_features \ +if _qcow2_dump_header | grep incompatible_features \ | grep -q '\<0\>' then echo 'ERROR: Dirty bit set' |