aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/errors/redirection-error7.0
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/sh/tests/errors/redirection-error7.0')
-rw-r--r--shell_cmds/sh/tests/errors/redirection-error7.07
1 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/errors/redirection-error7.0 b/shell_cmds/sh/tests/errors/redirection-error7.0
new file mode 100644
index 0000000..ef56434
--- /dev/null
+++ b/shell_cmds/sh/tests/errors/redirection-error7.0
@@ -0,0 +1,7 @@
+# $FreeBSD: head/bin/sh/tests/errors/redirection-error7.0 216851 2010-12-31 18:20:17Z jilles $
+
+! dummy=$(
+ exec 3>&1 >&2 2>&3
+ ulimit -n 9
+ exec 9<.
+) && [ -n "$dummy" ]