summary refs log tree commit diff
path: root/bin/cash/tests/parameters/optind2.0
blob: 699b281436c17bb3f1e1b55594d2622f2c938b5d (plain) (blame)
1
2
3
# $FreeBSD: releng/12.0/bin/sh/tests/parameters/optind2.0 259846 2013-12-24 22:38:24Z jilles $

[ "$(OPTIND=42 ${SH} -c 'printf %s "$OPTIND"')" = 1 ]