]> granicus.if.org Git - php/commitdiff
Update stack size in tests/func/010.phpt
authorNikita Popov <nikic@php.net>
Wed, 26 Feb 2014 15:37:58 +0000 (16:37 +0100)
committerNikita Popov <nikic@php.net>
Wed, 26 Feb 2014 15:40:25 +0000 (16:40 +0100)
Stack size is 16K nowadays. Now the test takes a more reasonable
amount of time to run...

tests/func/010.phpt

index f970283dc4723856f1b102c305243808ae01c9cd..6d5c30c9eee545406e6e999626ca3095dc05f2b5 100644 (file)
@@ -8,7 +8,7 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 <?php
 
 // the stack size + some random constant
-$boundary = 64*1024;
+$boundary = 16*1024-16;
 $limit    = $boundary+42;