Otherwise the error handling we are expecting will be masked by the preceding image locking check, and is going to be indistinguishable because the error messages are all the same.
Signed-off-by: Fam Zheng <[email protected]> Reviewed-by: Max Reitz <[email protected]> --- tests/qemu-iotests/087 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qemu-iotests/087 b/tests/qemu-iotests/087 index 5c04577..91e4c71 100755 --- a/tests/qemu-iotests/087 +++ b/tests/qemu-iotests/087 @@ -84,6 +84,7 @@ run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EO "options": { "driver": "$IMGFMT", "node-name": "disk", + "lock-mode": "off", "file": { "driver": "file", "filename": "$TEST_IMG" @@ -96,6 +97,7 @@ run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EO "options": { "driver": "$IMGFMT", "node-name": "test-node", + "lock-mode": "off", "file": { "driver": "file", "filename": "$TEST_IMG" -- 2.7.4
