Skip to contentSkip to conversation

tests/qemu-iotests/262: Check for availability of "blkverify" first

PATCH Applied Thomas Huth 3 participants 3 messages Jan 4, 2023 – Jan 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tests/qemu-iotests/262 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/qemu-iotests/262 +2 -1
index 2294fd5ecb..a4a92de45a 100755
@@ -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, \
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Thomas Huth

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.

---
  tests/qemu-iotests/262 | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Applied
#2 lore raw
In reply to Thomas Huth

Am 04.01.2023 um 12:28 hat Thomas Huth geschrieben:

Quoted 6 lines

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.

Thanks, applied to the block branch.

Kevin