tyrael Sat, 22 Oct 2011 23:47:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=318330
Log:
shave off 900M memory from this test
Changed paths:
U php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt
U php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt
U php/php-src/trunk/Zend/tests/bug55509.phpt
Modified: php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt 2011-10-22
22:57:55 UTC (rev 318329)
+++ php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt 2011-10-22
23:47:52 UTC (rev 318330)
@@ -7,7 +7,7 @@
}
?>
--INI--
-memory_limit=3G
+memory_limit=2100M
--FILE--
<?php
$a1 = str_repeat("1", 1024 * 1024 * 1024 * 0.5);
@@ -20,14 +20,11 @@
echo "4\n";
$a5 = str_repeat("5", 1024 * 1024 * 1024 * 0.5);
echo "5\n";
-$a6 = str_repeat("6", 1024 * 1024 * 1024 * 0.5);
-echo "6\n";
?>
--EXPECTF--
1
2
3
4
-5
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d
bytes) in %sbug55509.php on line %d
Modified: php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt 2011-10-22
22:57:55 UTC (rev 318329)
+++ php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt 2011-10-22
23:47:52 UTC (rev 318330)
@@ -7,7 +7,7 @@
}
?>
--INI--
-memory_limit=3G
+memory_limit=2100M
--FILE--
<?php
$a1 = str_repeat("1", 1024 * 1024 * 1024 * 0.5);
@@ -20,14 +20,11 @@
echo "4\n";
$a5 = str_repeat("5", 1024 * 1024 * 1024 * 0.5);
echo "5\n";
-$a6 = str_repeat("6", 1024 * 1024 * 1024 * 0.5);
-echo "6\n";
?>
--EXPECTF--
1
2
3
4
-5
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d
bytes) in %sbug55509.php on line %d
Modified: php/php-src/trunk/Zend/tests/bug55509.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/bug55509.phpt 2011-10-22 22:57:55 UTC (rev
318329)
+++ php/php-src/trunk/Zend/tests/bug55509.phpt 2011-10-22 23:47:52 UTC (rev
318330)
@@ -7,7 +7,7 @@
}
?>
--INI--
-memory_limit=3G
+memory_limit=2100M
--FILE--
<?php
$a1 = str_repeat("1", 1024 * 1024 * 1024 * 0.5);
@@ -20,14 +20,11 @@
echo "4\n";
$a5 = str_repeat("5", 1024 * 1024 * 1024 * 0.5);
echo "5\n";
-$a6 = str_repeat("6", 1024 * 1024 * 1024 * 0.5);
-echo "6\n";
?>
--EXPECTF--
1
2
3
4
-5
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d
bytes) in %sbug55509.php on line %d
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php