diff options
author | Mateusz Kusiak <mateusz.kusiak@intel.com> | 2024-12-03 11:32:18 +0100 |
---|---|---|
committer | Mariusz Tkaczyk <mtkaczyk@kernel.org> | 2024-12-13 10:08:10 +0100 |
commit | f068eb18c0ba886e590fa8ff9cfe551717c91872 (patch) | |
tree | f729a63249e6233fbb8b7a97c9c36d6b0f756f93 | |
parent | tests: fix 09imsm-assemble (diff) | |
download | mdadm-f068eb18c0ba886e590fa8ff9cfe551717c91872.tar.xz mdadm-f068eb18c0ba886e590fa8ff9cfe551717c91872.zip |
tests: skip 07testreshape5 if no test_stripe
For test 07testreshape5 to succeed test_stripe binary must be first
compiled. Add check to skip test if no binary.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
-rw-r--r-- | tests/07testreshape5 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/07testreshape5 b/tests/07testreshape5 index d90fd15e..127da0cf 100644 --- a/tests/07testreshape5 +++ b/tests/07testreshape5 @@ -5,6 +5,9 @@ # shaped md arrays. set -x dir="." + +[ -e $dir/test_stripe ] || skip "test_stripes binary has not been compiled, skipping" + layouts=(la ra ls rs) for level in 5 6 do |