]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - bin/sh/tests/builtins/getopts6.0
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to
[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 ]