qemu-iotests: 041: More robust assertion on quorum node
commite71fc0bae777e36e6c20271317bd2925628e074f
authorFam Zheng <famz@redhat.com>
Wed, 13 Apr 2016 03:43:15 +0000 (13 11:43 +0800)
committerMax Reitz <mreitz@redhat.com>
Fri, 15 Apr 2016 15:56:56 +0000 (15 17:56 +0200)
treefc0f76937bbb5065192848e111e7c2f8127f768e
parent5f1525a685cfdb48cb8bd6d7495541b3a379640f
qemu-iotests: 041: More robust assertion on quorum node

Block nodes are now assigned names automatically, therefore the test
case is fragile in using fixed indices in result. Introduce a method in
iotests.py and do the matching more sensibly.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1460518995-1338-1-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/041
tests/qemu-iotests/iotests.py