diff options
author | Max Reitz <mreitz@redhat.com> | 2020-10-27 20:05:47 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-12-11 17:52:40 +0100 |
commit | f96e59da1ff5b5bf55a1dc6c442cb34a941cff12 (patch) | |
tree | 5adc5b9ddaa2f1363d330a02008884f813ea0c11 /tests/qemu-iotests/249 | |
parent | df4ea7091b744c8568e8bd9212a756ac504c43d4 (diff) | |
download | qemu-f96e59da1ff5b5bf55a1dc6c442cb34a941cff12.zip qemu-f96e59da1ff5b5bf55a1dc6c442cb34a941cff12.tar.gz qemu-f96e59da1ff5b5bf55a1dc6c442cb34a941cff12.tar.bz2 |
iotests: Do not needlessly filter _make_test_img
In most cases, _make_test_img does not need a _filter_imgfmt on top. It
does that by itself.
(The exception is when IMGFMT has been overwritten but TEST_IMG has not.
In such cases, we do need a _filter_imgfmt on top to filter the test's
original IMGFMT from TEST_IMG.)
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201027190600.192171-8-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/249')
-rwxr-xr-x | tests/qemu-iotests/249 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qemu-iotests/249 b/tests/qemu-iotests/249 index 68f13ed..a9aa930 100755 --- a/tests/qemu-iotests/249 +++ b/tests/qemu-iotests/249 @@ -48,9 +48,9 @@ _supported_os Linux IMG_SIZE=1M # Create the images: base <- int <- active -TEST_IMG="$TEST_IMG.base" _make_test_img $IMG_SIZE | _filter_imgfmt -TEST_IMG="$TEST_IMG.int" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT | _filter_imgfmt -_make_test_img -b "$TEST_IMG.int" -F $IMGFMT | _filter_imgfmt +TEST_IMG="$TEST_IMG.base" _make_test_img $IMG_SIZE +TEST_IMG="$TEST_IMG.int" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT +_make_test_img -b "$TEST_IMG.int" -F $IMGFMT # Launch QEMU with these two drives: # none0: base (read-only) |