opnsense-src/tools/regression/bin/sh/execution/redir5.0
Jilles Tjoelker b15e9aa322 sh: Fix two things about {(...)} <redir:
* In {(...) <redir1;} <redir2, do not drop redir1.
* Maintain the difference between (...) <redir and {(...)} <redir:
  In (...) <redir, the redirection is performed in the child, while in
  {(...)} <redir it should be performed in the parent (like {(...); :;}
  <redir)
2011-02-05 15:02:19 +00:00

3 lines
51 B
Text

# $FreeBSD$
{ (echo bad) >/dev/null; } </dev/null