From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euFTl-0002GV-60 for qemu-devel@nongnu.org; Fri, 09 Mar 2018 05:42:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euFTk-0001Ob-E4 for qemu-devel@nongnu.org; Fri, 09 Mar 2018 05:42:25 -0500 From: Amador Pahim Date: Fri, 9 Mar 2018 11:41:50 +0100 Message-Id: <20180309104151.2431-2-apahim@redhat.com> In-Reply-To: <20180309104151.2431-1-apahim@redhat.com> References: <20180309104151.2431-1-apahim@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com, Amador Pahim Using bochs or cloop, qemu-img will fail with: Format driver 'bochs' does not support image creation Signed-off-by: Amador Pahim --- tests/qemu-iotests/205 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205 index e7b2eae51d..fff9be97d2 100644 --- a/tests/qemu-iotests/205 +++ b/tests/qemu-iotests/205 @@ -24,6 +24,9 @@ import iotests import time from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive + +iotests.verify_image_format(unsupported_fmts=['bochs', 'cloop']) + nbd_sock = 'nbd_sock' nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock disk = os.path.join(iotests.test_dir, 'disk') -- 2.14.3