]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - bin/sh/tests/builtins/getopts6.0
Update LLDB snapshot to upstream r216948 (git 50f7fe44)
[FreeBSD/FreeBSD.git] / bin / sh / tests / builtins / getopts6.0
1 # $FreeBSD$
2
3 set -- -x -y
4 getopts :x var || echo "First getopts bad: $?"
5 getopts :x var
6 r=$?
7 [ r != 0 ] && [ "$OPTIND" = 3 ]