From f068eb18c0ba886e590fa8ff9cfe551717c91872 Mon Sep 17 00:00:00 2001 From: Mateusz Kusiak Date: Tue, 3 Dec 2024 11:32:18 +0100 Subject: 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 --- tests/07testreshape5 | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3