From b9a1907899a2a00e94092207bb5de4d864408806 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 23 Sep 2014 15:41:38 -0700 Subject: t7004: give the test a bit more stack space It was reported that the allocated stack space was too small for some archs openSUSE buildfarm runs the tests on. Double it while also doubling the amount of data to be handled. Reported-by: Andreas Schwab Suggested-by: Jeff King Tested-by: Andreas Schwab Signed-off-by: Junio C Hamano diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index e4ab0f5..c564197 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -1424,7 +1424,7 @@ EOF ' run_with_limited_stack () { - (ulimit -s 64 && "$@") + (ulimit -s 128 && "$@") } test_lazy_prereq ULIMIT 'run_with_limited_stack true' @@ -1433,7 +1433,7 @@ test_lazy_prereq ULIMIT 'run_with_limited_stack true' test_expect_success ULIMIT '--contains works in a deep repo' ' >expect && i=1 && - while test $i -lt 4000 + while test $i -lt 8000 do echo "commit refs/heads/master committer A U Thor $((1000000000 + $i * 100)) +0200 -- cgit v0.10.2-6-g49f6