]> Git Repo - qemu.git/blobdiff - tests/qemu-iotests/087
iotests: add test 226 for file driver types
[qemu.git] / tests / qemu-iotests / 087
index 27ab6c51513c56fbef962116a5ab818ded7095b0..2561a14456e82984278730ca436fcbb35c059af7 100755 (executable)
@@ -102,7 +102,14 @@ echo
 echo === aio=native without O_DIRECT ===
 echo
 
-run_qemu <<EOF
+# Skip this test if AIO is not enabled in this build
+function run_qemu_filter_aio()
+{
+    run_qemu "$@" | \
+        sed -e 's/is not supported in this build/it requires cache.direct=on, which was not specified/'
+}
+
+run_qemu_filter_aio <<EOF
 { "execute": "qmp_capabilities" }
 { "execute": "blockdev-add",
   "arguments": {
This page took 0.023358 seconds and 4 git commands to generate.