diff options
Diffstat (limited to 'src/regress/lib/libc/getopt_long/test.ok')
-rw-r--r-- | src/regress/lib/libc/getopt_long/test.ok | 60 |
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 @@ | |||
1 | getopt_long: myfile --force -f infile -9 | ||
2 | option force | ||
3 | option f, arg infile | ||
4 | option 9 | ||
5 | remaining ARGV: myfile | ||
6 | |||
7 | getopt_long: onefile twofile --best --illiterate -i foo.in threefile | ||
8 | option best | ||
9 | option illiterate | ||
10 | option i, arg foo.in | ||
11 | remaining ARGV: onefile twofile threefile | ||
12 | |||
13 | getopt_long: --fast --drinking guiness -i foo.in somefile | ||
14 | option fast | ||
15 | option drinking, arg guiness | ||
16 | option i, arg foo.in | ||
17 | remaining ARGV: somefile | ||
18 | |||
19 | getopt_long (POSIXLY_CORRECT): myfile --force -f infile -9 | ||
20 | remaining ARGV: myfile --force -f infile -9 | ||
21 | |||
22 | getopt_long (POSIXLY_CORRECT): onefile twofile --best --illiterate -i foo.in threefile | ||
23 | remaining ARGV: onefile twofile --best --illiterate -i foo.in threefile | ||
24 | |||
25 | getopt_long (POSIXLY_CORRECT): --fast --drinking guiness -i foo.in somefile | ||
26 | option fast | ||
27 | option drinking, arg guiness | ||
28 | option i, arg foo.in | ||
29 | remaining ARGV: somefile | ||
30 | |||
31 | getopt_long_only: myfile -force -f infile -9 | ||
32 | option force | ||
33 | option f, arg infile | ||
34 | option 9 | ||
35 | remaining ARGV: myfile | ||
36 | |||
37 | getopt_long_only: onefile twofile --best -illiterate -i foo.in threefile | ||
38 | option best | ||
39 | option illiterate | ||
40 | option i, arg foo.in | ||
41 | remaining ARGV: onefile twofile threefile | ||
42 | |||
43 | getopt_long_only: --fast -drinking guiness -i foo.in somefile | ||
44 | option fast | ||
45 | option drinking, arg guiness | ||
46 | option i, arg foo.in | ||
47 | remaining ARGV: somefile | ||
48 | |||
49 | getopt_long_only (POSIXLY_CORRECT): myfile -force -f infile -9 | ||
50 | remaining ARGV: myfile -force -f infile -9 | ||
51 | |||
52 | getopt_long_only (POSIXLY_CORRECT): onefile twofile --best -illiterate -i foo.in threefile | ||
53 | remaining ARGV: onefile twofile --best -illiterate -i foo.in threefile | ||
54 | |||
55 | getopt_long_only (POSIXLY_CORRECT): --fast -drinking guiness -i foo.in somefile | ||
56 | option fast | ||
57 | option drinking, arg guiness | ||
58 | option i, arg foo.in | ||
59 | remaining ARGV: somefile | ||
60 | |||