summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-10-24 19:56:34 +0000
committerjilles <jilles@FreeBSD.org>2010-10-24 19:56:34 +0000
commita2f958382a8f42c779dc6a8648379e68138a8241 (patch)
tree1c6016530801e8cfcb42356ebe4b705dfc0b3330 /tools
parent4e4dbb9f7a0bd6b10173651c98cf91d5e25a541b (diff)
downloadFreeBSD-src-a2f958382a8f42c779dc6a8648379e68138a8241.zip
FreeBSD-src-a2f958382a8f42c779dc6a8648379e68138a8241.tar.gz
sh: Add a test trying to close a descriptor that is not open.
In stable/8 and older, this fails. Some of the redirection changes in head have fixed it.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/execution/redir3.03
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/execution/redir3.0 b/tools/regression/bin/sh/execution/redir3.0
new file mode 100644
index 0000000..d68e450
--- /dev/null
+++ b/tools/regression/bin/sh/execution/redir3.0
@@ -0,0 +1,3 @@
+# $FreeBSD$
+
+3>&- 3>&-
OpenPOWER on IntegriCloud