freebsd-dev/tools/regression/bin
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
..
date regression/date: unset all LC_xxx vars and set LANG/LC_ALL 2011-01-09 22:05:09 +00:00
mv Hide expected error output so the 'prove -r' results are easy to read. 2010-01-03 09:31:33 +00:00
pax Add a Makefile for tools/regression/bin and support 'all' in 2010-08-29 12:14:53 +00:00
sh sh: If exit is used without args from a trap action, exit on the signal. 2011-01-16 13:56:41 +00:00
test test: Move tests to tools/regression/bin/test. 2010-11-08 23:15:10 +00:00
Makefile test: Move tests to tools/regression/bin/test. 2010-11-08 23:15:10 +00:00