From 166f3c7b7026f9cd55a7daeec3b3444ec41092ab Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 9 Aug 2012 13:05:57 +0100 Subject: qemu-iotests: skip 039 with ./check -nocache When the qemu-io --nocache option is used the 039 test case cannot abort QEMU at a point where the image is dirty. Skip the test case. Signed-off-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- tests/qemu-iotests/common.rc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tests/qemu-iotests/common.rc') diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 6b80516..d534e94 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -297,6 +297,20 @@ _supported_os() _notrun "not suitable for this OS: $HOSTOS" } +_unsupported_qemu_io_options() +{ + for bad_opt + do + for opt in $QEMU_IO_OPTIONS + do + if [ "$bad_opt" = "$opt" ] + then + _notrun "not suitable for qemu-io option: $bad_opt" + fi + done + done +} + # this test requires that a specified command (executable) exists # _require_command() -- cgit v1.1