opnsense-src/bin/sh/tests/parameters/optind2.0

3 lines
67 B
Text

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