diff options
author | jilles <jilles@FreeBSD.org> | 2013-03-15 20:29:31 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-03-15 20:29:31 +0000 |
commit | d967c25f5c41bb5547a03c9b1ce042cb778c54cc (patch) | |
tree | 84d8e3b2a4fff8196acae606e87e71bcee71109c /tools/regression/bin | |
parent | e3bfa0687cf43740ac4bf886a8089374386b1d0d (diff) | |
download | FreeBSD-src-d967c25f5c41bb5547a03c9b1ce042cb778c54cc.zip FreeBSD-src-d967c25f5c41bb5547a03c9b1ce042cb778c54cc.tar.gz |
sh: Recognize "--" and explicitly reject options in wait builtin.
If syntactically invalid job identifiers are to be taken as jobs that exited
with status 127, this should not apply to options, so that we can add
options later if need be.
Diffstat (limited to 'tools/regression/bin')
-rw-r--r-- | tools/regression/bin/sh/builtins/wait6.0 | 3 | ||||
-rw-r--r-- | tools/regression/bin/sh/builtins/wait7.0 | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/wait6.0 b/tools/regression/bin/sh/builtins/wait6.0 new file mode 100644 index 0000000..20e3c68 --- /dev/null +++ b/tools/regression/bin/sh/builtins/wait6.0 @@ -0,0 +1,3 @@ +# $FreeBSD$ + +wait -- diff --git a/tools/regression/bin/sh/builtins/wait7.0 b/tools/regression/bin/sh/builtins/wait7.0 new file mode 100644 index 0000000..0fb092f --- /dev/null +++ b/tools/regression/bin/sh/builtins/wait7.0 @@ -0,0 +1,4 @@ +# $FreeBSD$ + +: & +wait -- $! |