diff options
author | Fam Zheng <famz@redhat.com> | 2017-05-03 00:35:46 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-05-11 11:08:40 +0200 |
commit | d5b8336a6284fa4d75eaae3ac0bfb974cb7f5f4a (patch) | |
tree | bfa027a10f9f0ede6b0011ac98f71ab7158502c7 /tests | |
parent | ecffa634218c05813c4b055f73826d09d7f07346 (diff) |
iotests: 087: Don't attach test image twice
The test scenario doesn't require the same image, instead it focuses on
the duplicated node-name, so use null-co to avoid locking conflict.
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/qemu-iotests/087 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/qemu-iotests/087 b/tests/qemu-iotests/087 index 9de57ddf6d..6d52f7d1b7 100755 --- a/tests/qemu-iotests/087 +++ b/tests/qemu-iotests/087 @@ -82,8 +82,7 @@ run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EO "driver": "$IMGFMT", "node-name": "disk", "file": { - "driver": "file", - "filename": "$TEST_IMG" + "driver": "null-co" } } } @@ -92,8 +91,7 @@ run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EO "driver": "$IMGFMT", "node-name": "test-node", "file": { - "driver": "file", - "filename": "$TEST_IMG" + "driver": "null-co" } } } |