Skip to content

Commit

Permalink
test/run: Error out when no bash version is found
Browse files Browse the repository at this point in the history
  • Loading branch information
andsens committed Dec 4, 2022
1 parent aa959f6 commit 0ef1c07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ for ((;docopt_i>0;docopt_i--)); do declare -p "${prefix}__version" \
versions+=("$version_path")
done
fi
if ((${#versions[@]} == 0)); then
printf -- "No bash versions found. Run get_bash.sh to download and compile bash versions.\n" >&2
return
fi

local suite_path
local suites=()
Expand Down

0 comments on commit 0ef1c07

Please sign in to comment.