Improve test framework: Solaris bug

The 'includeTests' function failed if /bin/bash was not available or not
the same as the Bash used to run the top test script.  This failed on
Solaris, where /usr/bin/bash is too old, and a privately-built Bash must
be used to run the test scripts.
This commit is contained in:
Andrew Bettison 2013-03-06 11:45:12 +10:30
parent fdd3623352
commit 6f3c2b99c9

View File

@ -1537,7 +1537,7 @@ _tfw_find_tests() {
local script
_tfw_unpack_words "$include" lineno script
local listline
"$_tfw_script_dir/$script" --list 2>/dev/null | while read listline; do
"$BASH" "$_tfw_script_dir/$script" --list 2>/dev/null | while read listline; do
local number
local name
local path