aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/296.out
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2020-07-19 15:20:59 +0300
committerMax Reitz <mreitz@redhat.com>2020-07-21 10:49:02 +0200
commit0fca43de1b617a95f2472691ca1e740932ab2fea (patch)
treeaae564b6e0cfff8e2e9fc2ddcf115e2dee470f0e /tests/qemu-iotests/296.out
parent662d0c5392a272aa0357aa7205e77fa3ca89c316 (diff)
qemu-iotests: add testcase for bz #1857490
Test that we can't write-share raw luks images by default, but we still can with share-rw=on Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20200719122059.59843-3-mlevitsk@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/296.out')
-rw-r--r--tests/qemu-iotests/296.out12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/qemu-iotests/296.out b/tests/qemu-iotests/296.out
index afb6d2d09d..cb2859a15c 100644
--- a/tests/qemu-iotests/296.out
+++ b/tests/qemu-iotests/296.out
@@ -26,8 +26,16 @@ Job failed: Failed to get shared "consistent read" lock
{"return": {}}
{"execute": "job-dismiss", "arguments": {"id": "job0"}}
{"return": {}}
-..
+Formatting 'TEST_DIR/test.img', fmt=luks size=1048576 key-secret=keysec0 iter-time=10
+
+{"return": {}}
+{"error": {"class": "GenericError", "desc": "Failed to get \"write\" lock"}}
+Formatting 'TEST_DIR/test.img', fmt=luks size=1048576 key-secret=keysec0 iter-time=10
+
+{"return": {}}
+{"return": {}}
+....
----------------------------------------------------------------------
-Ran 2 tests
+Ran 4 tests
OK