]> mj.ucw.cz Git - eval.git/blob - ucw/getopt.t
Box: Support systems with 64-bit kernel and 32-bit user space
[eval.git] / ucw / getopt.t
1 # Tests for getopt
2
3 Run:    ../obj/ucw/getopt-t -a -b --longc 2819 -d -a 1 2 3
4 Out:    option a
5         option b
6         option c with value `2819'
7         option d with value `-a'
8         3 nonoption arguments
9         reset
10         option a
11         option b
12         option c with value `2819'
13         option d with value `-a'
14         3 nonoption arguments
15
16 Run:    ../obj/ucw/getopt-t -a -x
17 Out:    option a
18         unknown option
19         reset
20         option a
21         unknown option