Patchwork [PULL,03/30] qemu-iotests: Do not execute 052 with -nocache

login
register
mail settings
Submitter Kevin Wolf
Date Sept. 27, 2013, 3:39 p.m.
Message ID <1380296370-14523-4-git-send-email-kwolf@redhat.com>
Download mbox | patch
Permalink /patch/278615/
State New
Headers show

Comments

Kevin Wolf - Sept. 27, 2013, 3:39 p.m.
From: Max Reitz <mreitz@redhat.com>

Test 052 uses qemu-io -s which will result in bdrv_open trying to create
a temporary snapshot file in /tmp. However, since O_DIRECT and tmpfs
do not work well together, disable this test for -nocache.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 tests/qemu-iotests/052 | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/tests/qemu-iotests/052 b/tests/qemu-iotests/052
index 14a5126..49810cb 100755
--- a/tests/qemu-iotests/052
+++ b/tests/qemu-iotests/052
@@ -41,6 +41,7 @@  trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt generic
 _supported_proto generic
 _supported_os Linux
+_unsupported_qemu_io_options --nocache
 
 
 size=128M