aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/111
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-11-07 17:37:00 +0100
committerMax Reitz <mreitz@redhat.com>2020-01-06 13:43:07 +0100
commit52a97b5a42d485e89ce61c0310c3cd78fb998938 (patch)
tree841defb7c37dd928c5acdead5d3ca432d01d2a83 /tests/qemu-iotests/111
parentecb4c1d116634c49aee91680e87d6d89044d2632 (diff)
downloadqemu-52a97b5a42d485e89ce61c0310c3cd78fb998938.zip
qemu-52a97b5a42d485e89ce61c0310c3cd78fb998938.tar.gz
qemu-52a97b5a42d485e89ce61c0310c3cd78fb998938.tar.bz2
iotests: Avoid qemu-img create
Use _make_test_img whenever possible. This way, we will not ignore user-specified image options. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-id: 20191107163708.833192-15-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/111')
-rwxr-xr-xtests/qemu-iotests/1113
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/qemu-iotests/111 b/tests/qemu-iotests/111
index 490a5bb..3b43d1b 100755
--- a/tests/qemu-iotests/111
+++ b/tests/qemu-iotests/111
@@ -41,8 +41,7 @@ _supported_fmt qed qcow qcow2 vmdk
_supported_proto file
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
-$QEMU_IMG create -f $IMGFMT -b "$TEST_IMG.inexistent" "$TEST_IMG" 2>&1 \
- | _filter_testdir | _filter_imgfmt
+_make_test_img -b "$TEST_IMG.inexistent"
# success, all done
echo '*** done'