]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qemu-iotests/308
export/fuse: Pass default_permissions for mount
[mirror_qemu.git] / tests / qemu-iotests / 308
index b30f4400f6199ab85f02dfbfbfd83f1ee76d493d..11c28a75f20bed8d933c381cbc338d88e81ff49c 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+# group: rw
 #
 # Test FUSE exports (in ways that are not captured by the generic
 # tests)
@@ -214,7 +215,8 @@ echo '=== Writable export ==='
 fuse_export_add 'export-mp' "'mountpoint': '$EXT_MP', 'writable': true"
 
 # Check that writing to the read-only export fails
-$QEMU_IO -f raw -c 'write -P 42 1M 64k' "$TEST_IMG" | _filter_qemu_io
+$QEMU_IO -f raw -c 'write -P 42 1M 64k' "$TEST_IMG" 2>&1 \
+    | _filter_qemu_io | _filter_testdir | _filter_imgfmt
 
 # But here it should work
 $QEMU_IO -f raw -c 'write -P 42 1M 64k' "$EXT_MP" | _filter_qemu_io