Browse Source

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 <thuth@redhat.com>
Message-Id: <20230104112850.261480-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Thomas Huth 2 years ago
parent
commit
95988739c7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/qemu-iotests/262

+ 2 - 1
tests/qemu-iotests/262

@@ -25,7 +25,8 @@ import iotests
 import os
 import os
 
 
 iotests.script_initialize(supported_fmts=['qcow2'],
 iotests.script_initialize(supported_fmts=['qcow2'],
-                          supported_platforms=['linux'])
+                          supported_platforms=['linux'],
+                          required_fmts=['blkverify'])
 
 
 with iotests.FilePath('img') as img_path, \
 with iotests.FilePath('img') as img_path, \
      iotests.FilePath('mig_fifo') as fifo, \
      iotests.FilePath('mig_fifo') as fifo, \