aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/bin/sh/builtins/getopts2.0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/builtins/getopts2.0')
-rw-r--r--tools/regression/bin/sh/builtins/getopts2.06
1 files changed, 6 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