From: Mateusz Kusiak Date: Tue, 3 Dec 2024 10:32:18 +0000 (+0100) Subject: tests: skip 07testreshape5 if no test_stripe X-Git-Tag: mdadm-4.4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f068eb18c0ba886e590fa8ff9cfe551717c91872;p=thirdparty%2Fmdadm.git 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 --- 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