[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 23/27] iotests: 087: Disable image lock in cases
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v4 23/27] iotests: 087: Disable image lock in cases where file is shared |
Date: |
Tue, 10 May 2016 10:50:55 +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..b3c69bd 100755
--- a/tests/qemu-iotests/087
+++ b/tests/qemu-iotests/087
@@ -84,6 +84,7 @@ run_qemu <<EOF
"options": {
"driver": "$IMGFMT",
"id": "disk",
+ "lock-image": false,
"node-name": "test-node",
"file": {
"driver": "file",
@@ -97,6 +98,7 @@ run_qemu <<EOF
"options": {
"driver": "$IMGFMT",
"id": "disk",
+ "lock-image": false,
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -109,6 +111,7 @@ run_qemu <<EOF
"options": {
"driver": "$IMGFMT",
"id": "test-node",
+ "lock-image": false,
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -122,6 +125,7 @@ run_qemu <<EOF
"driver": "$IMGFMT",
"id": "disk2",
"node-name": "disk",
+ "lock-image": false,
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -135,6 +139,7 @@ run_qemu <<EOF
"driver": "$IMGFMT",
"id": "disk2",
"node-name": "test-node",
+ "lock-image": false,
"file": {
"driver": "file",
"filename": "$TEST_IMG"
@@ -148,6 +153,7 @@ run_qemu <<EOF
"driver": "$IMGFMT",
"id": "disk3",
"node-name": "disk3",
+ "lock-image": false,
"file": {
"driver": "file",
"filename": "$TEST_IMG"
--
2.8.2
- [Qemu-devel] [PATCH v4 15/27] qemu-img: Update documentation of "-L" option, (continued)
- [Qemu-devel] [PATCH v4 15/27] qemu-img: Update documentation of "-L" option, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 16/27] qemu-nbd: Add "--no-lock/-L" option, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 14/27] qemu-img: Add "-L" option to sub commands, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 17/27] block: Don't lock drive-backup target image in none mode, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 18/27] mirror: Disable image locking on target backing chain, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 20/27] qemu-iotests: 046: Move version detection out from verify_io, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 22/27] qemu-iotests: 030: Disable image lock when checking test image, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 19/27] qemu-iotests: 140: Disable image lock for qemu-io access, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 24/27] iotests: Disable image locking in 085, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 21/27] qemu-iotests: Wait for QEMU processes before checking image in 091, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 23/27] iotests: 087: Disable image lock in cases where file is shared,
Fam Zheng <=
- [Qemu-devel] [PATCH v4 26/27] block: Turn on image locking by default, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 25/27] tests: Use null-co:// instead of /dev/null, Fam Zheng, 2016/05/09
- [Qemu-devel] [PATCH v4 27/27] qemu-iotests: Add test case 153 for image locking, Fam Zheng, 2016/05/09
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Richard W.M. Jones, 2016/05/10
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Richard W.M. Jones, 2016/05/10
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Daniel P. Berrange, 2016/05/10
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Kevin Wolf, 2016/05/10
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Daniel P. Berrange, 2016/05/10
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Kevin Wolf, 2016/05/10
- Re: [Qemu-devel] [PATCH v4 00/27] block: Lock images when opening, Daniel P. Berrange, 2016/05/10