glib: Add compat wrapper for g_poll on old glib
[qemu/pbrook.git] / tests / qemu-iotests-quick.sh
blobcf90de0b8b7d139d1750f0de15d412964f2b88c3
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"
12 cd $SRC_PATH/tests/qemu-iotests
14 ret=0
15 ./check -T -nocache -qcow2 -g quick || ret=1
17 exit $ret