tests: need 1024 files per process not 100024

Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
Loic Dachary 2015-05-08 01:14:47 +02:00
parent 27c1982757
commit f36bd0e967

View File

@ -43,7 +43,7 @@ check-local:: all
# exercise cli tools
u=`ulimit -u` ; \
p=`expr $(shell nproc) / 2` ; \
n=`expr $$p \* 100024` ; \
n=`expr $$p \* 1024` ; \
if ${CHECK_ULIMIT} && echo ${MAKEFLAGS} | grep --quiet -e -j && test $$u -lt $$n ; then \
echo "ulimit -u is $$u which is lower than $$n = $$p / 2 * 1024" ; \
echo "If running make -j$$p check you will likely exceed this limit" ; \