qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]