From b4d3f2358dd045a1bd0300606eb7c5467d4e55ce Mon Sep 17 00:00:00 2001 From: Mateusz Kusiak Date: Mon, 2 Dec 2024 12:37:03 +0100 Subject: tests: fix 24raid10deadlock Skip tests if fault injection is not enabled. Remove 24raid10deadlock.inject_error empty file. Signed-off-by: Mateusz Kusiak --- tests/24raid10deadlock | 2 +- tests/24raid10deadlock.inject_error | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 tests/24raid10deadlock.inject_error diff --git a/tests/24raid10deadlock b/tests/24raid10deadlock index ee330aa9..d3cac4cb 100644 --- a/tests/24raid10deadlock +++ b/tests/24raid10deadlock @@ -62,7 +62,7 @@ clean_up_test() mdadm -S $md0 } -cat /sys/kernel/debug/fail_make_request/times || die "fault injection is not enabled" +cat /sys/kernel/debug/fail_make_request/times || skip "fault injection is not enabled" trap 'clean_up_test' EXIT diff --git a/tests/24raid10deadlock.inject_error b/tests/24raid10deadlock.inject_error deleted file mode 100644 index e69de29b..00000000 -- cgit v1.2.3