diff mbox series

[PULL,17/34] iotests: Inject space into -ocompat=0.10 in 051

Message ID 20200106144206.698920-18-mreitz@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,01/34] block: Add bdrv_qapi_perm_to_blk_perm() | expand

Commit Message

Max Reitz Jan. 6, 2020, 2:41 p.m. UTC
It did not matter before, but now that _make_test_img understands -o, we
should use it properly here.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-id: 20191107163708.833192-11-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
---
 tests/qemu-iotests/051 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
index a13bce2fd0..d7294d80d9 100755
--- a/tests/qemu-iotests/051
+++ b/tests/qemu-iotests/051
@@ -158,7 +158,7 @@  echo
 echo === With version 2 images enabling lazy refcounts must fail ===
 echo
 
-_make_test_img -ocompat=0.10 $size
+_make_test_img -o compat=0.10 $size
 
 run_qemu -drive file="$TEST_IMG",format=qcow2,lazy-refcounts=on
 run_qemu -drive file="$TEST_IMG",format=qcow2,lazy-refcounts=off