apenwarr-redo/t/200-shell
Avery Pennarun 6cf06f707a shelltest.od: we accidentally treated some fails as mere warnings.
We were setting a global variable FAIL on failure, but if we failed
inside a subshell (which a very small number of tests might do), this
setting would be lost.  The script output (a series of failed/warning
lines) was still valid, but not the return code, so the shell might be
selected even if one of these tests failed.

To avoid the problem, put the fail/warning state in the filesystem
instead, which is shared across subshells.
2018-12-17 16:17:37 +00:00
..
.gitignore t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
all.do shelltest.od: we accidentally treated some fails as mere warnings. 2018-12-17 16:17:37 +00:00
clean.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
default.vartest.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
nonshelltest.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
shelltest.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
vartest.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00