]> Git Repo - qemu.git/blobdiff - tests/qemu-iotests/001
Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-07-17' into staging
[qemu.git] / tests / qemu-iotests / 001
index bd88dde879bb1bec90db697a0f8ce370ddeff74a..ffd14e2ce96f8ea11005c1d2046071235f462c86 100755 (executable)
@@ -25,7 +25,6 @@ seq=`basename $0`
 echo "QA output created by $seq"
 
 here=`pwd`
-tmp=/tmp/$$
 status=1       # failure is the default!
 
 _cleanup()
@@ -48,15 +47,15 @@ _make_test_img $size
 
 echo
 echo "== reading whole image =="
-$QEMU_IO -c "read 0 $size" $TEST_IMG | _filter_qemu_io
+$QEMU_IO -c "read 0 $size" "$TEST_IMG" | _filter_qemu_io
 
 echo
 echo "== rewriting whole image =="
-$QEMU_IO -c "write -P 0xa 0 $size" $TEST_IMG | _filter_qemu_io
+$QEMU_IO -c "write -P 0xa 0 $size" "$TEST_IMG" | _filter_qemu_io
 
 echo
 echo "== verify pattern =="
-$QEMU_IO -c "read -P 0xa 0 $size" $TEST_IMG | _filter_qemu_io
+$QEMU_IO -c "read -P 0xa 0 $size" "$TEST_IMG" | _filter_qemu_io
 
 
 # success, all done
This page took 0.024366 seconds and 4 git commands to generate.