summary refs log tree commit diff
path: root/bin/cash/tests/builtins/getopts7.0
blob: 3b9c01df542c781113581b3a5b4d9f0916ac26de (plain) (blame)
1
2
3
4
5
6
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/getopts7.0 265844 2014-05-10 17:42:21Z jilles $

set -- -x
getopts :x: var
r=$?
[ r != 0 ] && [ "$OPTIND" = 2 ]