summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/012
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/012')
-rwxr-xr-xtests/qemu-iotests/0124
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/012 b/tests/qemu-iotests/012
index 4052956cd9..7c5b6892d3 100755
--- a/tests/qemu-iotests/012
+++ b/tests/qemu-iotests/012
@@ -50,11 +50,11 @@ _make_test_img $size
echo
echo "== mark image read-only"
-chmod a-w $TEST_IMG
+chmod a-w "$TEST_IMG"
echo
echo "== read from read-only image"
-$QEMU_IO -r -c "read 0 512" $TEST_IMG | _filter_qemu_io
+$QEMU_IO -r -c "read 0 512" "$TEST_IMG" | _filter_qemu_io
# success, all done
echo "*** done"