opnsense-src/tools/regression/bin/sh
Jilles Tjoelker ebdfd6dc4d sh: If exit is used without args from a trap action, exit on the signal.
This is useful so that it is easier to exit on a signal than to reset the
trap to default and resend the signal. It matches ksh93. POSIX says that
'exit' without args from a trap action uses the exit status from the last
command before the trap, which is different from 'exit $?' and matches this
if the previous command is assumed to have exited on the signal.

If the signal is SIGSTOP, SIGTSTP, SIGTTIN or SIGTTOU, or if the default
action for the signal is to ignore it, a normal _exit(2) is done with exit
status 128+signal_number.
2011-01-16 13:56:41 +00:00
..
builtins sh: If exit is used without args from a trap action, exit on the signal. 2011-01-16 13:56:41 +00:00
errors sh: Check readonly status for assignments on regular builtins. 2011-01-01 13:26:18 +00:00
execution sh: Remove special %builtin PATH entry. 2011-01-09 21:07:30 +00:00
expansion sh: Avoid side effects from builtins in optimized command substitution. 2010-12-30 22:33:55 +00:00
parameters Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
parser sh: Fix some issues with aliases and case, by importing dash checkkwd code. 2010-11-02 23:44:29 +00:00
set-e sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
Makefile Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
regress.sh Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
regress.t sh: Allow running 'prove' from tools/regression/bin/sh again 2010-10-15 20:01:35 +00:00