#!/bin/sh
# $FreeBSD: releng/11.4/usr.bin/apply/tests/regress.01.sh 204761 2010-03-05 15:23:01Z jh $

SHELL=/bin/sh; export SHELL

ARG_MAX=$(getconf ARG_MAX)
ARG_MAX_HALF=$((ARG_MAX / 2))

apply 'echo %1 %1 %1' $(jot $ARG_MAX_HALF 1 1 | tr -d '\n') 2>&1

if [ $? -eq 0 ]; then
	return 1
else
	return 0
fi
