]> Git Repo - qemu.git/blobdiff - tests/qemu-iotests-quick.sh
iotests: Add test for oVirt-like storage migration
[qemu.git] / tests / qemu-iotests-quick.sh
index c449e8ab4ae2348c44de5140e4dc630c444ca276..0e554bb97240de643945fa784c26d6cbf50aece7 100755 (executable)
@@ -1,18 +1,8 @@
 #!/bin/sh
 
-# We don't know which of the system emulator binaries there is (or if there is
-# any at all), so the 'quick' group doesn't contain any tests that require
-# running qemu proper. Assign a fake binary name so that qemu-iotests doesn't
-# complain about the missing binary.
-export QEMU_PROG="this_should_be_unused"
-
-export QEMU_IMG_PROG="$(pwd)/qemu-img"
-export QEMU_IO_PROG="$(pwd)/qemu-io"
-export QEMU_NBD_PROG="$(pwd)/qemu-nbd"
-
-cd $SRC_PATH/tests/qemu-iotests
+cd tests/qemu-iotests
 
 ret=0
-./check -T -nocache -qcow2 -g quick || ret=1
+TEST_DIR=${TEST_DIR:-/tmp/qemu-iotests-quick-$$} ./check -T -qcow2 -g quick || ret=1
 
 exit $ret
This page took 0.025545 seconds and 4 git commands to generate.