Skip to content

Commit

Permalink
tests/qemu-iotests/262: Check for availability of "blkverify" first
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
huth authored and kevmw committed Jan 24, 2023
1 parent 724e670 commit 9598873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/qemu-iotests/262
Expand Up @@ -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, \
Expand Down

0 comments on commit 9598873

Please sign in to comment.