aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/153
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/153
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/153')
-rwxr-xr-xtests/qemu-iotests/1532
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/153 b/tests/qemu-iotests/153
index c969a1a..e590902 100755
--- a/tests/qemu-iotests/153
+++ b/tests/qemu-iotests/153
@@ -98,7 +98,7 @@ for opts1 in "" "read-only=on" "read-only=on,force-share=on"; do
echo
echo "== Creating test image =="
- $QEMU_IMG create -f $IMGFMT "${TEST_IMG}" -b ${TEST_IMG}.base | _filter_img_create
+ _make_test_img -b "${TEST_IMG}.base"
echo
echo "== Launching QEMU, opts: '$opts1' =="