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:
Chet Ramey
2025-10-16 11:44:26 -04:00
parent 6a48b39bba
commit 2a645237d3
132 changed files with 1364 additions and 813 deletions
+5 -2
View File
@@ -3,9 +3,12 @@ exportfunc ok 2
./exportfunc.tests: line 37: cve7169-bad: No such file or directory
./exportfunc.tests: eval: line 44: syntax error: unexpected end of file from `{' command on line 42
./exportfunc.tests: line 43: cve7169-bad2: No such file or directory
exportfunc1.sub
./exportfunc1.sub: line 14: maximum here-document count exceeded
./exportfunc.tests: line 72: HELLO_WORLD: No such file or directory
./exportfunc.tests: eval: line 83: unexpected EOF while looking for matching `}'
exportfunc2.sub
./exportfunc.tests: line 74: HELLO_WORLD: No such file or directory
./exportfunc.tests: eval: line 85: unexpected EOF while looking for matching `}'
exportfunc3.sub
./exportfunc3.sub: line 23: export: foo=bar: cannot export
status: 1
equals-1