]> granicus.if.org Git - php/commitdiff
- fix tests
authorMichael Wallner <mike@php.net>
Mon, 13 Nov 2006 14:05:49 +0000 (14:05 +0000)
committerMichael Wallner <mike@php.net>
Mon, 13 Nov 2006 14:05:49 +0000 (14:05 +0000)
tests/output/ob_013.phpt
tests/output/ob_020.phpt [deleted file]

index e764461172fccf0ecaf54cacb6ef7d3ab925a9be..e96de46a4b6ec323103a0b013bb84ab6572e6377 100644 (file)
@@ -25,7 +25,7 @@ print_r(ob_get_status());
 print_r(ob_get_status(true));
 
 ?>
---EXPECT--
+--EXPECTF--
 foo
 Array
 (
@@ -41,7 +41,7 @@ Array
     [type] => 1
     [flags] => 4209
     [level] => 4
-    [chunk_size] => 0
+    [chunk_size] => %d
     [buffer_size] => 16384
     [buffer_used] => 96
 )
@@ -53,7 +53,7 @@ Array
             [type] => 0
             [flags] => 112
             [level] => 0
-            [chunk_size] => 0
+            [chunk_size] => %d
             [buffer_size] => 16384
             [buffer_used] => 0
         )
@@ -64,7 +64,7 @@ Array
             [type] => 1
             [flags] => 113
             [level] => 1
-            [chunk_size] => 0
+            [chunk_size] => %d
             [buffer_size] => 16384
             [buffer_used] => 0
         )
@@ -75,7 +75,7 @@ Array
             [type] => 1
             [flags] => 113
             [level] => 2
-            [chunk_size] => 0
+            [chunk_size] => %d
             [buffer_size] => 16384
             [buffer_used] => 0
         )
@@ -86,7 +86,7 @@ Array
             [type] => 1
             [flags] => 113
             [level] => 3
-            [chunk_size] => 0
+            [chunk_size] => %d
             [buffer_size] => 16384
             [buffer_used] => 4
         )
@@ -97,9 +97,9 @@ Array
             [type] => 1
             [flags] => 4209
             [level] => 4
-            [chunk_size] => 0
+            [chunk_size] => %d
             [buffer_size] => 16384
-            [buffer_used] => 248
+            [buffer_used] => %d
         )
 
 )
diff --git a/tests/output/ob_020.phpt b/tests/output/ob_020.phpt
deleted file mode 100644 (file)
index 89c0055..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---TEST--
-output buffering - memory exhaustion (segv, memory_limit>200k)
---SKIPIF--
-<?php
-function_exists("memory_get_usage") or die("skip need --enable-memory-limit\n");
-?>
---INI--
-output_buffering=1
-memory_limit=500k
---FILE--
-<?php
-while(true) echo "foo";
-?>
---EXPECTF--
-Fatal error: Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes) in %s on line %d