diff options
Diffstat (limited to 'bin/sh/tests/errors/redirection-error4.0')
-rw-r--r-- | bin/sh/tests/errors/redirection-error4.0 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/sh/tests/errors/redirection-error4.0 b/bin/sh/tests/errors/redirection-error4.0 new file mode 100644 index 0000000..2060974 --- /dev/null +++ b/bin/sh/tests/errors/redirection-error4.0 @@ -0,0 +1,7 @@ +# $FreeBSD$ +# A redirection error should not abort the shell if there is no command word. +exec 2>/dev/null +</var/empty/x +</var/empty/x y=2 +y=2 </var/empty/x +exit 0 |