aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/191
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-10-17 17:08:51 +0200
committerKevin Wolf <kwolf@redhat.com>2017-10-26 14:45:57 +0200
commit760c4d43ae43f5d4b5eec450a53f056c3c91fab1 (patch)
treeb288ba3794ebac98d5f045bec310b825dd820378 /tests/qemu-iotests/191
parent6bff597bf6580ecc691258e849f652911dbdda7c (diff)
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 <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/191')
-rwxr-xr-xtests/qemu-iotests/1913
1 files changed, 2 insertions, 1 deletions
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"