mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
tests/qemu-iotests/tests/mirror-sparse: skip if O_DIRECT is not supported
This test uses cache.direct=true, but does not check if O_DIRECT
is supported by the underlying filesystem, and fails, for example,
on a tmpfs (which is rather common on various auto-builders, in CI,
etc).
Fix this by using `_supported_cache_modes none directsync`.
Fixes: c0ddcb2cbc "tests: Add iotest mirror-sparse for recent patches"
Signed-off-by: Michael Tokarev <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
This commit is contained in:
1 parent
b217d987a3
commit
afeb002e0a
1 file changed
+1
@@ -40,6 +40,7 @@ cd ..
|
||||
_supported_fmt qcow2 raw # Format of the source. dst is always raw file
|
||||
_supported_proto file
|
||||
_supported_os Linux
|
||||
_supported_cache_modes none directsync
|
||||
_require_disk_usage
|
||||
|
||||
echo
|
||||
|
||||
Reference in new issue
Block a user