freebsd-dev/tools/regression/bin/sh/errors
Jilles Tjoelker c3bb858966 sh: Do not abort on a redirection error on a compound command.
Redirection errors on subshells already did not abort the shell because
the redirection is executed in the subshell.

Other shells seem to agree that these redirection errors should not abort
the shell.

Also ensure that the redirections will be cleaned up properly in cases like
  command eval '{ shift x; } 2>/dev/null'

Example:
  { echo bad; } </var/empty/x; echo good
2010-03-14 14:24:35 +00:00
..
assignment-error1.0 sh: Add test for assignment errors (e.g. trying to change a readonly var). 2010-03-13 22:30:52 +00:00
backquote-error1.0 Disable job control when running 'sh -i' in the testsuite. 2009-11-29 22:58:10 +00:00
backquote-error2.0 sh: Disallow mismatched quotes in backticks (...). 2009-10-01 21:40:08 +00:00
bad-parm-exp1.0
bad-parm-exp2.2
bad-parm-exp2.2.stderr
bad-parm-exp3.2
bad-parm-exp3.2.stderr
bad-parm-exp4.2
bad-parm-exp4.2.stderr
bad-parm-exp5.2
bad-parm-exp5.2.stderr
option-error.0
redirection-error2.2 Add a regression test for r181017. 2008-07-30 21:18:52 +00:00
redirection-error3.0 sh: Improve the command builtin: 2010-03-06 16:57:53 +00:00
redirection-error4.0 sh: Do not abort on a redirection error if there is no command word. 2010-03-13 22:53:17 +00:00
redirection-error5.0 sh: Add test for redirection error on subshell (should not abort). 2010-03-14 13:51:12 +00:00
redirection-error6.0 sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
redirection-error.0