]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/usr.bin/apply/regress.01.sh
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / usr.bin / apply / regress.01.sh
1 #!/bin/sh
2 # $FreeBSD$
3
4 SHELL=/bin/sh; export SHELL
5
6 ARG_MAX=$(getconf ARG_MAX)
7 ARG_MAX_HALF=$((ARG_MAX / 2))
8
9 apply 'echo %1 %1 %1' $(jot $ARG_MAX_HALF 1 1 | tr -d '\n') 2>&1
10
11 if [ $? -eq 0 ]; then
12         return 1
13 else
14         return 0
15 fi