aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2008-08-27 20:26:34 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2008-08-27 20:26:34 +0000
commit8d372294f98a4e8c03720b028d8aab2d4144a159 (patch)
tree3d712f5b065908305a116779c5341625b55c55c7 /tools
parent9144fae127d648fcb3c7ff88cd298d319ccd80cb (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/builtins/getopts2.06
-rw-r--r--tools/regression/bin/sh/builtins/getopts2.0.stdout1
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 000000000000..5a5dbe20cb6a
--- /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 000000000000..587be6b4c3f9
--- /dev/null
+++ b/tools/regression/bin/sh/builtins/getopts2.0.stdout
@@ -0,0 +1 @@
+x