From: Thomas Huth Date: Wed, 4 Jan 2023 11:28:50 +0000 (+0100) Subject: tests/qemu-iotests/262: Check for availability of "blkverify" first X-Git-Tag: v8.0.0-rc0~78^2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95988739c73f76176327061824c603f85b072ff2;p=thirdparty%2Fqemu.git tests/qemu-iotests/262: Check for availability of "blkverify" first In downstream RHEL builds, we do not have "blkverify" enabled, so iotest 262 is currently failing there. Thus let's list "blkverify" as required item so that the test properly gets skipped instead if "blkverify" is missing. Signed-off-by: Thomas Huth Message-Id: <20230104112850.261480-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/262 b/tests/qemu-iotests/262 index 2294fd5ecbd..a4a92de45a1 100755 --- a/tests/qemu-iotests/262 +++ b/tests/qemu-iotests/262 @@ -25,7 +25,8 @@ import iotests import os iotests.script_initialize(supported_fmts=['qcow2'], - supported_platforms=['linux']) + supported_platforms=['linux'], + required_fmts=['blkverify']) with iotests.FilePath('img') as img_path, \ iotests.FilePath('mig_fifo') as fifo, \