migration: show average throughput when migration finishes
[qemu/ar7.git] / tests / qemu-iotests-quick.sh
blobc449e8ab4ae2348c44de5140e4dc630c444ca276
1 #!/bin/sh
3 # We don't know which of the system emulator binaries there is (or if there is
4 # any at all), so the 'quick' group doesn't contain any tests that require
5 # running qemu proper. Assign a fake binary name so that qemu-iotests doesn't
6 # complain about the missing binary.
7 export QEMU_PROG="this_should_be_unused"
9 export QEMU_IMG_PROG="$(pwd)/qemu-img"
10 export QEMU_IO_PROG="$(pwd)/qemu-io"
11 export QEMU_NBD_PROG="$(pwd)/qemu-nbd"
13 cd $SRC_PATH/tests/qemu-iotests
15 ret=0
16 ./check -T -nocache -qcow2 -g quick || ret=1
18 exit $ret