blob: c449e8ab4ae2348c44de5140e4dc630c444ca276 [file] [log] [blame]
Kevin Wolf89594492012-03-08 12:29:00 +01001#!/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.
7export QEMU_PROG="this_should_be_unused"
8
9export QEMU_IMG_PROG="$(pwd)/qemu-img"
10export QEMU_IO_PROG="$(pwd)/qemu-io"
Paolo Bonzini9a05fea2014-02-20 18:28:03 +010011export QEMU_NBD_PROG="$(pwd)/qemu-nbd"
Kevin Wolf89594492012-03-08 12:29:00 +010012
13cd $SRC_PATH/tests/qemu-iotests
14
15ret=0
16./check -T -nocache -qcow2 -g quick || ret=1
17
18exit $ret