summaryrefslogtreecommitdiffhomepage
path: root/tests/zash/getopts-edge.exp
blob: 4e025fdc6a612707ae7e7688e501de79bc557230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
a
b=x
rest: y z
a
b=val
c
rest: 
a
c
rest: -b
unknown x
a
rest: 
missing arg for b
rest: 
rest: -
rest: 
b=
rest: 
getopts: illegal option -- z
o=? OPTARG=unset
getopts: option requires an argument -- b
o=? OPTARG=unset
OPTIND=3
end status=1 o=?
[status 0]