summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/getopt_long/test.ok
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/getopt_long/test.ok')
-rw-r--r--src/regress/lib/libc/getopt_long/test.ok60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/regress/lib/libc/getopt_long/test.ok b/src/regress/lib/libc/getopt_long/test.ok
new file mode 100644
index 0000000000..0bade064f6
--- /dev/null
+++ b/src/regress/lib/libc/getopt_long/test.ok
@@ -0,0 +1,60 @@
1getopt_long: myfile --force -f infile -9
2option force
3option f, arg infile
4option 9
5remaining ARGV: myfile
6
7getopt_long: onefile twofile --best --illiterate -i foo.in threefile
8option best
9option illiterate
10option i, arg foo.in
11remaining ARGV: onefile twofile threefile
12
13getopt_long: --fast --drinking guiness -i foo.in somefile
14option fast
15option drinking, arg guiness
16option i, arg foo.in
17remaining ARGV: somefile
18
19getopt_long (POSIXLY_CORRECT): myfile --force -f infile -9
20remaining ARGV: myfile --force -f infile -9
21
22getopt_long (POSIXLY_CORRECT): onefile twofile --best --illiterate -i foo.in threefile
23remaining ARGV: onefile twofile --best --illiterate -i foo.in threefile
24
25getopt_long (POSIXLY_CORRECT): --fast --drinking guiness -i foo.in somefile
26option fast
27option drinking, arg guiness
28option i, arg foo.in
29remaining ARGV: somefile
30
31getopt_long_only: myfile -force -f infile -9
32option force
33option f, arg infile
34option 9
35remaining ARGV: myfile
36
37getopt_long_only: onefile twofile --best -illiterate -i foo.in threefile
38option best
39option illiterate
40option i, arg foo.in
41remaining ARGV: onefile twofile threefile
42
43getopt_long_only: --fast -drinking guiness -i foo.in somefile
44option fast
45option drinking, arg guiness
46option i, arg foo.in
47remaining ARGV: somefile
48
49getopt_long_only (POSIXLY_CORRECT): myfile -force -f infile -9
50remaining ARGV: myfile -force -f infile -9
51
52getopt_long_only (POSIXLY_CORRECT): onefile twofile --best -illiterate -i foo.in threefile
53remaining ARGV: onefile twofile --best -illiterate -i foo.in threefile
54
55getopt_long_only (POSIXLY_CORRECT): --fast -drinking guiness -i foo.in somefile
56option fast
57option drinking, arg guiness
58option i, arg foo.in
59remaining ARGV: somefile
60