summaryrefslogtreecommitdiffstats
path: root/usr.bin/apply/tests/regress.01.sh
blob: db5f1d4cd82c572f08d7d3aa16eb4a3a905fc227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# $FreeBSD$

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
OpenPOWER on IntegriCloud