From 760c4d43ae43f5d4b5eec450a53f056c3c91fab1 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 17 Oct 2017 17:08:51 +0200 Subject: qemu-iotests: Test backing_fmt with backing node reference This changes test case 191 to include a backing image that has backing_fmt set in the image file, but is referenced by node name in the qemu command line. Signed-off-by: Kevin Wolf Reviewed-by: Eric Blake --- tests/qemu-iotests/191 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/qemu-iotests/191') diff --git a/tests/qemu-iotests/191 b/tests/qemu-iotests/191 index ac2b88fd78..28bdea8f98 100755 --- a/tests/qemu-iotests/191 +++ b/tests/qemu-iotests/191 @@ -56,7 +56,8 @@ echo === Preparing and starting VM === echo TEST_IMG="${TEST_IMG}.base" _make_test_img $size -TEST_IMG="${TEST_IMG}.mid" _make_test_img -b "${TEST_IMG}.base" +IMGOPTS=$(_optstr_add "$IMGOPTS" "backing_fmt=$IMGFMT") \ + TEST_IMG="${TEST_IMG}.mid" _make_test_img -b "${TEST_IMG}.base" _make_test_img -b "${TEST_IMG}.mid" TEST_IMG="${TEST_IMG}.ovl2" _make_test_img -b "${TEST_IMG}.mid" -- cgit v1.2.3