Skip to content

Commit e62ef70

Browse files
committed
nvme/050: skip test with NVMe multipath device
$./check nvme/050 nvme/050 => nvme1n1 (test nvme-pci timeout with fio jobs) [failed] runtime 94.236s ... 62.734s --- tests/nvme/050.out 2025-11-17 00:23:56.086469327 -0500 +++ /root/blktests/results/nvme1n1/nvme/050.out.bad 2025-11-19 03:17:45.389644408 -0500 @@ -1,2 +1,3 @@ Running nvme/050 -Test complete +Test failed +tests/nvme/050: line 50: /sys/bus/pci/devices//remove: Permission denied Signed-off-by: Yi Zhang <[email protected]>
1 parent cc9c46e commit e62ef70

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/nvme/050

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ requires() {
1919
_have_kernel_options FAIL_IO_TIMEOUT FAULT_INJECTION_DEBUG_FS
2020
}
2121

22+
device_requires() {
23+
_require_test_dev_is_not_nvme_multipath
24+
}
25+
2226
test_device() {
2327
local nvme_ns
2428
local pdev

0 commit comments

Comments
 (0)