mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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 <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
058f8f16db
commit
166f3c7b70
2 changed files with 15 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue