summaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/parameters/optind2.0
blob: 0837a17025bc6228708f43c21e8fcdfd24e4cb9c (plain) (blame)
1
2
3
# $FreeBSD: head/bin/sh/tests/parameters/optind2.0 259846 2013-12-24 22:38:24Z jilles $

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