Skip to content

Commit 0ef1c07

Browse files
committed
test/run: Error out when no bash version is found
1 parent aa959f6 commit 0ef1c07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ for ((;docopt_i>0;docopt_i--)); do declare -p "${prefix}__version" \
5151
versions+=("$version_path")
5252
done
5353
fi
54+
if ((${#versions[@]} == 0)); then
55+
printf -- "No bash versions found. Run get_bash.sh to download and compile bash versions.\n" >&2
56+
return
57+
fi
5458

5559
local suite_path
5660
local suites=()

0 commit comments

Comments
 (0)