This test will queries message from /proc/scsi/scsi_debug/ which relies on the kernel option SCSI_PROC_FS Prevent the following error report: scsi/004 (ensure repeated TASK SET FULL results in EIO on timing out command) [failed] runtime 1.743s ... 1.935s --- tests/scsi/004.out 2025-04-04 04:36:43.171999880 +0800 +++ /root/blktests/results/nodev/scsi/004.out.bad 2025-11-13 12:46:33.807994845 +0800 @@ -1,3 +1,4 @@ Running scsi/004 Input/output error +grep: /proc/scsi/scsi_debug/0: No such file or directory Test complete Signed-off-by: Li Zhijian --- tests/scsi/004 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/scsi/004 b/tests/scsi/004 index 7d0af54..fd4cfb0 100755 --- a/tests/scsi/004 +++ b/tests/scsi/004 @@ -19,6 +19,7 @@ CAN_BE_ZONED=1 requires() { _have_scsi_debug + _have_kernel_option SCSI_PROC_FS } test() { -- 2.44.0