freebsd-src/tools/regression/bin/sh
Jilles Tjoelker efd1946c35 sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'.
If job control is not enabled, background jobs started with  ... &  ignore
SIGINT and SIGQUIT so that they are not affected by such signals that are
intended for the foreground job. However, this should not prevent
reassigning a different action for these signals (as if the shell invocation
inherited these signal actions from its parent).

Austin group issue #751

Example:
  { trap - INT; exec sleep 10; } & wait
A Ctrl+C should terminate the sleep command.
2013-10-30 21:36:15 +00:00
..
builtins sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'. 2013-10-30 21:36:15 +00:00
errors sh: Detect and flag write errors on stdout in builtins. 2012-12-12 22:01:10 +00:00
execution sh: Do not read from stdin if an error occurs during -i -c cmd. 2013-07-12 15:29:41 +00:00
expansion sh: Reject ++ and -- in arithmetic. 2013-08-24 20:06:00 +00:00
parameters sh: Add some testcases for pasting $*/$@ directly to a literal. 2011-12-25 13:24:48 +00:00
parser sh: Disallow empty simple commands. 2013-08-25 10:57:48 +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 sh: Do not use "local" in the test runner as POSIX and ksh93 do not have it. 2011-02-19 13:23:13 +00:00
regress.t sh: Allow running 'prove' from tools/regression/bin/sh again 2010-10-15 20:01:35 +00:00