[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RFC v8 3/7] qemu-iotests: s390x: fix test 041
From: |
Bo Tu |
Subject: |
[Qemu-devel] [PATCH RFC v8 3/7] qemu-iotests: s390x: fix test 041 |
Date: |
Thu, 7 May 2015 15:52:19 +0800 |
From: Xiao Guang Chen <address@hidden>
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Michael Mueller <address@hidden>
Signed-off-by: Xiao Guang Chen <address@hidden>
---
tests/qemu-iotests/041 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/041 b/tests/qemu-iotests/041
index 59a8f73..c6abe3c 100755
--- a/tests/qemu-iotests/041
+++ b/tests/qemu-iotests/041
@@ -197,6 +197,9 @@ class TestSingleDrive(ImageMirroringTestCase):
'target image does not match source after mirroring')
def test_medium_not_found(self):
+ if iotests.qemu_default_machine != 'pc':
+ return
+
result = self.vm.qmp('drive-mirror', device='ide1-cd0', sync='full',
target=target_img)
self.assert_qmp(result, 'error/class', 'GenericError')
@@ -867,6 +870,9 @@ class TestRepairQuorum(ImageMirroringTestCase):
if not self.has_quorum():
return
+ if iotests.qemu_default_machine != 'pc':
+ return
+
result = self.vm.qmp('drive-mirror', device='ide1-cd0', sync='full',
node_name='repair0',
replaces='img1',
--
2.3.0
- [Qemu-devel] [PATCH RFC v8 0/7] Update tests/qemu-iotests failing cases for the s390 platform, Bo Tu, 2015/05/07
- [Qemu-devel] [PATCH RFC v8 1/7] qemu-iotests: qemu machine type support, Bo Tu, 2015/05/07
- [Qemu-devel] [PATCH RFC v8 3/7] qemu-iotests: s390x: fix test 041,
Bo Tu <=
- [Qemu-devel] [PATCH RFC v8 5/7] qemu-iotests: s390x: fix test 049, Bo Tu, 2015/05/07
- [Qemu-devel] [PATCH RFC v8 4/7] qemu-iotests: s390x: fix test 055, Bo Tu, 2015/05/07
- [Qemu-devel] [PATCH RFC v8 7/7] qemu-iotests: s390x: fix test 130, Bo Tu, 2015/05/07
- [Qemu-devel] [PATCH RFC v8 2/7] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087, Bo Tu, 2015/05/07
- [Qemu-devel] [PATCH RFC v8 6/7] qemu-iotests: s390x: fix test 051, Bo Tu, 2015/05/07