OSDN Git Service

initial commit
[openbsd-octeon/openbsd-octeon.git] / src / regress / lib / libc / getopt_long / test.ok
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 -Williterate -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: -1bfast - 
14 option 1
15 option b
16 option f, arg ast
17 option -
18
19 getopt_long: --fast --drinking=guiness -i foo.in somefile 
20 option fast
21 option drinking, arg guiness
22 option i, arg foo.in
23 remaining ARGV: somefile 
24
25 getopt_long (POSIXLY_CORRECT): myfile --force -f infile -9 
26 remaining ARGV: myfile --force -f infile -9 
27
28 getopt_long (POSIXLY_CORRECT): onefile twofile --best -Williterate -i foo.in threefile 
29 remaining ARGV: onefile twofile --best -Williterate -i foo.in threefile 
30
31 getopt_long (POSIXLY_CORRECT): -1bfast - 
32 option 1
33 option b
34 option f, arg ast
35 option -
36
37 getopt_long (POSIXLY_CORRECT): --fast --drinking=guiness -i foo.in somefile 
38 option fast
39 option drinking, arg guiness
40 option i, arg foo.in
41 remaining ARGV: somefile 
42
43 getopt_long_only: myfile -force -f infile -9 
44 option force
45 option f, arg infile
46 option 9
47 remaining ARGV: myfile 
48
49 getopt_long_only: onefile twofile -best -Williterate -i foo.in threefile 
50 option best
51 option illiterate
52 option i, arg foo.in
53 remaining ARGV: onefile twofile threefile 
54
55 getopt_long_only: -1bfast - 
56 option 1
57 option b
58 option fast
59 option -
60
61 getopt_long_only: --fast -drinking=guiness -i foo.in somefile 
62 option fast
63 option drinking, arg guiness
64 option i, arg foo.in
65 remaining ARGV: somefile 
66
67 getopt_long_only (POSIXLY_CORRECT): myfile -force -f infile -9 
68 remaining ARGV: myfile -force -f infile -9 
69
70 getopt_long_only (POSIXLY_CORRECT): onefile twofile -best -Williterate -i foo.in threefile 
71 remaining ARGV: onefile twofile -best -Williterate -i foo.in threefile 
72
73 getopt_long_only (POSIXLY_CORRECT): -1bfast - 
74 option 1
75 option b
76 option fast
77 option -
78
79 getopt_long_only (POSIXLY_CORRECT): --fast -drinking=guiness -i foo.in somefile 
80 option fast
81 option drinking, arg guiness
82 option i, arg foo.in
83 remaining ARGV: somefile 
84