From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGi86-0003Xv-N0 for qemu-devel@nongnu.org; Thu, 29 Jan 2015 00:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGi7y-00087D-59 for qemu-devel@nongnu.org; Thu, 29 Jan 2015 00:59:02 -0500 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:52234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGi7w-00086I-Pc for qemu-devel@nongnu.org; Thu, 29 Jan 2015 00:58:54 -0500 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Jan 2015 11:28:48 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id B35483940067 for ; Thu, 29 Jan 2015 11:28:45 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t0T5whw061145308 for ; Thu, 29 Jan 2015 11:28:44 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t0T5whK0026596 for ; Thu, 29 Jan 2015 11:28:43 +0530 Received: from chenxg-ThinkPad-T440p.cn.ibm.com (chenxg-thinkpad-t440p.cn.ibm.com [9.115.114.109] (may be forged)) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t0T5wd6f025879 for ; Thu, 29 Jan 2015 11:28:43 +0530 From: Xiao Guang Chen Date: Thu, 29 Jan 2015 13:58:38 +0800 Message-Id: <1422511118-13049-7-git-send-email-chenxg@linux.vnet.ibm.com> In-Reply-To: <1422511118-13049-1-git-send-email-chenxg@linux.vnet.ibm.com> References: <1422511118-13049-1-git-send-email-chenxg@linux.vnet.ibm.com> Subject: [Qemu-devel] [-prfix=PATCH v2 RFC 6/6] qemu-iotests: s390x: fix test 055 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Mao Chuan Li There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Mao Chuan Li --- 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