mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 00:20:49 +02:00
test suite updates: highlight failed test scripts; optionally save failed test output; report number of successful tests; exit based on number of test failures; indent warning messages to make them stand out
This commit is contained in:
+4
-2
@@ -11,6 +11,8 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
. ./test-aux-functions
|
||||
#
|
||||
declare -a A
|
||||
mapfile A < mapfile.data
|
||||
for (( i = 0 ; i < ${#A[@]} ; i++ )); do
|
||||
@@ -58,5 +60,5 @@ mapfile -t -d $'\xff' array <<<"$s"
|
||||
declare -p array
|
||||
unset -v s array
|
||||
|
||||
${THIS_SH} ./mapfile1.sub
|
||||
${THIS_SH} ./mapfile2.sub
|
||||
test_runsub ./mapfile1.sub
|
||||
test_runsub ./mapfile2.sub
|
||||
|
||||
Reference in New Issue
Block a user