diff options
author | stefanf <stefanf@FreeBSD.org> | 2008-08-27 20:26:34 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2008-08-27 20:26:34 +0000 |
commit | f8e575b9ca03a5a52cdf4506bbe489b25789bab6 (patch) | |
tree | 3d712f5b065908305a116779c5341625b55c55c7 | |
parent | 694055a5a742f85060f61e8515d3139783fff94b (diff) | |
download | FreeBSD-src-f8e575b9ca03a5a52cdf4506bbe489b25789bab6.zip FreeBSD-src-f8e575b9ca03a5a52cdf4506bbe489b25789bab6.tar.gz |
Add a test for r182300.
-rw-r--r-- | tools/regression/bin/sh/builtins/getopts2.0 | 6 | ||||
-rw-r--r-- | tools/regression/bin/sh/builtins/getopts2.0.stdout | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/getopts2.0 b/tools/regression/bin/sh/builtins/getopts2.0 new file mode 100644 index 0000000..5a5dbe2 --- /dev/null +++ b/tools/regression/bin/sh/builtins/getopts2.0 @@ -0,0 +1,6 @@ +# $FreeBSD$ +set - -ax +getopts ax option +set -C +getopts ax option +echo $option diff --git a/tools/regression/bin/sh/builtins/getopts2.0.stdout b/tools/regression/bin/sh/builtins/getopts2.0.stdout new file mode 100644 index 0000000..587be6b --- /dev/null +++ b/tools/regression/bin/sh/builtins/getopts2.0.stdout @@ -0,0 +1 @@ +x |