summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/153
diff options
context:
space:
mode:
authorMaxim Levitsky2020-05-04 15:19:59 +0200
committerMax Reitz2020-05-05 13:17:36 +0200
commit44e808c13045b1032143ab8e144b4d48264ad609 (patch)
treea2ce481660c44bd1293b95b6ed2b71f5c23c1437 /tests/qemu-iotests/153
parentblock: Comment cleanups (diff)
downloadqemu-44e808c13045b1032143ab8e144b4d48264ad609.tar.gz
qemu-44e808c13045b1032143ab8e144b4d48264ad609.tar.xz
qemu-44e808c13045b1032143ab8e144b4d48264ad609.zip
Fix iotest 153
Commit f62514b3def5fb2acbef64d0e053c0c31fa45aff made qemu-img reject -o "" but this test uses it. Since this test only tries to do a dry-run run of qemu-img amend, replace the -o "" with dummy -o "size=$size". Fixes: f62514b3def5fb2acbef64d0e053c0c31fa45aff Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20200504131959.9533-1-mlevitsk@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 2b13111768..cf961d3609 100755
--- a/tests/qemu-iotests/153
+++ b/tests/qemu-iotests/153
@@ -122,7 +122,7 @@ for opts1 in "" "read-only=on" "read-only=on,force-share=on"; do
_run_cmd $QEMU_IMG check $L "${TEST_IMG}"
_run_cmd $QEMU_IMG compare $L "${TEST_IMG}" "${TEST_IMG}"
_run_cmd $QEMU_IMG map $L "${TEST_IMG}"
- _run_cmd $QEMU_IMG amend -o "" $L "${TEST_IMG}"
+ _run_cmd $QEMU_IMG amend -o "size=$size" $L "${TEST_IMG}"
_run_cmd $QEMU_IMG commit $L "${TEST_IMG}"
_run_cmd $QEMU_IMG resize $L "${TEST_IMG}" $size
_run_cmd $QEMU_IMG rebase $L "${TEST_IMG}" -b "${TEST_IMG}.base"