summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-07-18 12:45:31 +0000
committerjilles <jilles@FreeBSD.org>2010-07-18 12:45:31 +0000
commit8be68756a979b615d3116b3cf959bfdb0322ee14 (patch)
tree40970c92b59f194cd39ca07bd247fd0838b9a83c /tools
parent23a42882e5d2123661a93a54d9cdf8ae70b7f674 (diff)
downloadFreeBSD-src-8be68756a979b615d3116b3cf959bfdb0322ee14.zip
FreeBSD-src-8be68756a979b615d3116b3cf959bfdb0322ee14.tar.gz
sh: Allow a background command consisting solely of redirections.
Example: </dev/null & MFC after: 2 weeks
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/parser/only-redir1.03
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/parser/only-redir1.0 b/tools/regression/bin/sh/parser/only-redir1.0
new file mode 100644
index 0000000..46076c8
--- /dev/null
+++ b/tools/regression/bin/sh/parser/only-redir1.0
@@ -0,0 +1,3 @@
+# $FreeBSD$
+</dev/null &
+wait $!
OpenPOWER on IntegriCloud