From: Mao Chuan Li <maoch...@linux.vnet.ibm.com> There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped.
Reviewed-by: Michael Mueller <m...@linux.vnet.ibm.com> Signed-off-by: Mao Chuan Li <maoch...@linux.vnet.ibm.com> --- 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