]> granicus.if.org Git - php/commitdiff
- fix skipif
authorMichael Wallner <mike@php.net>
Fri, 13 Oct 2006 09:06:03 +0000 (09:06 +0000)
committerMichael Wallner <mike@php.net>
Fri, 13 Oct 2006 09:06:03 +0000 (09:06 +0000)
- generalize error message expectation

tests/output/ob_020.phpt

index 0b563c343133b7300a25ba24e4dabf8730ae9caa..89c005550054f87c53669250a3300b0c59029f60 100644 (file)
@@ -2,7 +2,7 @@
 output buffering - memory exhaustion (segv, memory_limit>200k)
 --SKIPIF--
 <?php
-function_exists("memory_get_usage") or die("need --enable-memory-limit\n");
+function_exists("memory_get_usage") or die("skip need --enable-memory-limit\n");
 ?>
 --INI--
 output_buffering=1
@@ -12,4 +12,4 @@ memory_limit=500k
 while(true) echo "foo";
 ?>
 --EXPECTF--
-Fatal error: Allowed memory size of %d bytes exhausted at %s/output.c:%d (tried to allocate %d bytes) in Unknown on line 0
+Fatal error: Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes) in %s on line %d