[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v5 23/27] iotests: 087: Disable image lock in cases
From: |
Fam Zheng |
Subject: |
[Qemu-block] [PATCH v5 23/27] iotests: 087: Disable image lock in cases where file is shared |
Date: |
Tue, 17 May 2016 15:35:32 +0800 |
Otherwise the error handling we are expceting 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 <address@hidden>
---
tests/qemu-iotests/087 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/087 b/tests/qemu-iotests/087
index e7bca37..60bdec5 100755
--- a/tests/qemu-iotests/087
+++ b/tests/qemu-iotests/087
@@ -84,6 +84,7 @@ run_qemu <<EOF
"options": {
"driver": "$IMGFMT",
"id": "disk",
+ "lock-mode": "off",
"node-name": "test-node",
"file": {
"driver": "file",
@@ -97,6 +98,7 @@ run_qemu <<EOF
"options": {
"driver": "$IMGFMT",
"id": "disk",
+ "lock-mode": "off",
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -109,6 +111,7 @@ run_qemu <<EOF
"options": {
"driver": "$IMGFMT",
"id": "test-node",
+ "lock-mode": "off",
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -122,6 +125,7 @@ run_qemu <<EOF
"driver": "$IMGFMT",
"id": "disk2",
"node-name": "disk",
+ "lock-mode": "off",
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -135,6 +139,7 @@ run_qemu <<EOF
"driver": "$IMGFMT",
"id": "disk2",
"node-name": "test-node",
+ "lock-mode": "off",
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -148,6 +153,7 @@ run_qemu <<EOF
"driver": "$IMGFMT",
"id": "disk3",
"node-name": "disk3",
+ "lock-mode": "off",
"file": {
"driver": "file",
"filename": "$TEST_IMG"
--
2.8.2
- [Qemu-block] [PATCH v5 18/27] mirror: Disable image locking on target backing chain, (continued)
- [Qemu-block] [PATCH v5 18/27] mirror: Disable image locking on target backing chain, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 17/27] block: Don't lock drive-backup target image in none mode, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 19/27] qemu-iotests: 140: Disable image lock for qemu-io access, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 21/27] qemu-iotests: Wait for QEMU processes before checking image in 091, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 20/27] qemu-iotests: 046: Move version detection out from verify_io, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 23/27] iotests: 087: Disable image lock in cases where file is shared,
Fam Zheng <=
- [Qemu-block] [PATCH v5 22/27] qemu-iotests: 030: Disable image lock when checking test image, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 24/27] iotests: Disable image locking in 085, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 25/27] tests: Use null-co:// instead of /dev/null, Fam Zheng, 2016/05/17
- [Qemu-block] [PATCH v5 26/27] block: Turn on image locking by default, Fam Zheng, 2016/05/17