diff options
author | Mateusz Kusiak <mateusz.kusiak@intel.com> | 2024-12-02 12:37:03 +0100 |
---|---|---|
committer | Mariusz Tkaczyk <mtkaczyk@kernel.org> | 2024-12-13 10:08:10 +0100 |
commit | b4d3f2358dd045a1bd0300606eb7c5467d4e55ce (patch) | |
tree | 5e38b7c7f8b6993ccb44b61b1e87e54aeb0a28d0 | |
parent | tests: add skip option (diff) | |
download | mdadm-b4d3f2358dd045a1bd0300606eb7c5467d4e55ce.tar.xz mdadm-b4d3f2358dd045a1bd0300606eb7c5467d4e55ce.zip |
tests: fix 24raid10deadlock
Skip tests if fault injection is not enabled.
Remove 24raid10deadlock.inject_error empty file.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
-rw-r--r-- | tests/24raid10deadlock | 2 | ||||
-rw-r--r-- | tests/24raid10deadlock.inject_error | 0 |
2 files changed, 1 insertions, 1 deletions
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 --- a/tests/24raid10deadlock.inject_error +++ /dev/null |