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 <schwab@linux-m68k.org> Suggested-by: Jeff King <peff@peff.net> Tested-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 23, 2014 at 15:41 UTC
b9a1907899a2a00e94092207bb5de4d864408806
1 file changed
+2
-2
t/t7004-tag.sh
+2
-2
@@ -1424,7 +1424,7 @@ EOF
1424
'
1425
1426
run_with_limited_stack () {
1427
- (ulimit -s 64 && "$@")
1427
+ (ulimit -s 128 && "$@")
1428
}
1429
1430
test_lazy_prereq ULIMIT 'run_with_limited_stack true'
@@ -1433,7 +1433,7 @@ test_lazy_prereq ULIMIT 'run_with_limited_stack true'
1433
test_expect_success ULIMIT '--contains works in a deep repo' '
1434
>expect &&
1435
i=1 &&
1436
- while test $i -lt 4000
1436
+ while test $i -lt 8000
1437
do
1438
echo "commit refs/heads/master
1439
committer A U Thor <author@example.com> $((1000000000 + $i * 100)) +0200