[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RFC v3 6/6] qemu-iotests: s390x: fix test 055
From: |
Xiao Guang Chen |
Subject: |
[Qemu-devel] [PATCH RFC v3 6/6] qemu-iotests: s390x: fix test 055 |
Date: |
Wed, 4 Feb 2015 17:32:32 +0800 |
From: Mao Chuan Li <address@hidden>
There is no such device 'ide-cd' defined on the s390 platform, so
test_medium_not_found() test is skipped.
Reviewed-by: Michael Mueller <address@hidden>
Signed-off-by: Mao Chuan Li <address@hidden>
---
tests/qemu-iotests/055 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/055 b/tests/qemu-iotests/055
index 451b67d..5cf487b 100755
--- a/tests/qemu-iotests/055
+++ b/tests/qemu-iotests/055
@@ -90,6 +90,9 @@ class TestSingleDrive(iotests.QMPTestCase):
'target image does not match source after backup')
def test_medium_not_found(self):
+ if iotests.qemu_default_machine == 's390-virtio':
+ return
+
result = self.vm.qmp('drive-backup', device='ide1-cd0',
target=target_img, sync='full')
self.assert_qmp(result, 'error/class', 'GenericError')
@@ -252,6 +255,9 @@ class TestSingleTransaction(iotests.QMPTestCase):
'target image does not match source after backup')
def test_medium_not_found(self):
+ if iotests.qemu_default_machine == 's390-virtio':
+ return
+
result = self.vm.qmp('transaction', actions=[{
'type': 'drive-backup',
'data': { 'device': 'ide1-cd0',
--
1.9.1
- [Qemu-devel] [PATCH RFC v3 0/6] Update tests/qemu-iotests failing cases for the s390 platform, Xiao Guang Chen, 2015/02/04
- [Qemu-devel] [PATCH RFC v3 6/6] qemu-iotests: s390x: fix test 055,
Xiao Guang Chen <=
- [Qemu-devel] [PATCH RFC v3 2/6] qemu-iotests: qemu machine type support, Xiao Guang Chen, 2015/02/04
- [Qemu-devel] [PATCH RFC v3 1/6] qemu-iotests: fix tests 067, 071 and 087, Xiao Guang Chen, 2015/02/04
- [Qemu-devel] [PATCH RFC v3 4/6] qemu-iotests: s390x: fix test 041, Xiao Guang Chen, 2015/02/04
- [Qemu-devel] [PATCH RFC v3 5/6] qemu-iotests: s390x: fix test 051, Xiao Guang Chen, 2015/02/04
- [Qemu-devel] [PATCH RFC v3 3/6] qemu-iotests: run qemu with -nodefaults, Xiao Guang Chen, 2015/02/04