]>
Commit | Line | Data |
---|---|---|
8959449b KW |
1 | #!/bin/sh |
2 | ||
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" | |
8 | ||
9 | export QEMU_IMG_PROG="$(pwd)/qemu-img" | |
10 | export QEMU_IO_PROG="$(pwd)/qemu-io" | |
11 | ||
12 | cd $SRC_PATH/tests/qemu-iotests | |
13 | ||
14 | ret=0 | |
15 | ./check -T -nocache -qcow2 -g quick || ret=1 | |
16 | ||
17 | exit $ret |