diff options
author | Jeff Cody <jcody@redhat.com> | 2013-10-31 11:57:39 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-11-07 13:53:31 +0100 |
commit | 3cbe3e8d25529ecb4e1838d1c6856e199b3a66d4 (patch) | |
tree | 7970e8c31dca058874d9126be70fd53d6404b3b3 /tests | |
parent | 02cde1688131090d3abb2f210e30a44d96804167 (diff) | |
download | qemu-3cbe3e8d25529ecb4e1838d1c6856e199b3a66d4.zip qemu-3cbe3e8d25529ecb4e1838d1c6856e199b3a66d4.tar.gz qemu-3cbe3e8d25529ecb4e1838d1c6856e199b3a66d4.tar.bz2 |
block: qemu-iotests, add quotes to $TEST_IMG usage in 019
There were still instances of $TEST_IMG not being properly quoted.
This was in the usage of a string built up for a 'for' loop; modify
the loop so we can quote $TEST_IMG properly.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/qemu-iotests/019 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qemu-iotests/019 b/tests/qemu-iotests/019 index cd3582c..5bb18d0 100755 --- a/tests/qemu-iotests/019 +++ b/tests/qemu-iotests/019 @@ -90,12 +90,12 @@ mv "$TEST_IMG" "$TEST_IMG.orig" # Test the conversion twice: One test with the old-style -B option and another # one with -o backing_file -for backing_option in "-B $TEST_IMG.base" "-o backing_file=$TEST_IMG.base"; do +for backing_option in "-B " "-o backing_file="; do echo - echo Testing conversion with $backing_option | _filter_testdir | _filter_imgfmt + echo Testing conversion with $backing_option$TEST_IMG.base | _filter_testdir | _filter_imgfmt echo - $QEMU_IMG convert -O $IMGFMT $backing_option "$TEST_IMG.orig" "$TEST_IMG" + $QEMU_IMG convert -O $IMGFMT $backing_option"$TEST_IMG.base" "$TEST_IMG.orig" "$TEST_IMG" echo "Checking if backing clusters are allocated when they shouldn't" echo |