Add wrapper for setting blocking status on a QEMUFile
[qemu/cris-port.git] / tests / check-block.sh
blobb9d9c6a9f69f95514f1c6e3efe5287b1ccdf2d04
1 #!/bin/sh
3 export QEMU_PROG="$(pwd)/x86_64-softmmu/qemu-system-x86_64"
4 export QEMU_IMG_PROG="$(pwd)/qemu-img"
5 export QEMU_IO_PROG="$(pwd)/qemu-io"
7 if [ ! -x $QEMU_PROG ]; then
8 echo "'make check-block' requires qemu-system-x86_64"
9 exit 1
12 cd $SRC_PATH/tests/qemu-iotests
14 ret=0
15 ./check -T -nocache -raw || ret=1
16 ./check -T -nocache -qcow2 || ret=1
17 ./check -T -nocache -qed|| ret=1
18 ./check -T -nocache -vmdk|| ret=1
19 ./check -T -nocache -vpc || ret=1
21 exit $ret