[PATCH 5/5] zbd/008: skip if fio or hexdump is missing

Daniel Wagner dwagner at suse.de
Wed Nov 18 00:42:25 PST 2026


zbd/008 runs fio and hexdump without checking for them. Check for them
in requires().

Fixes: a2737bbd421a ("zbd/008: check no stale page cache after BLKRESETZONE ioctl")
Signed-off-by: Daniel Wagner <dwagner at suse.de>
---
 tests/zbd/008 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/zbd/008 b/tests/zbd/008
index cdfbedfd7976..480b3d55a122 100755
--- a/tests/zbd/008
+++ b/tests/zbd/008
@@ -15,7 +15,9 @@ TIMED=1
 requires() {
 	_have_loadable_scsi_debug
 	_have_module_param scsi_debug zbc
+	_have_fio
 	_have_program xfs_io
+	_have_program hexdump
 }
 
 test() {

-- 
2.56.1




More information about the Linux-nvme mailing list