com php-src: fix test for bug #60322: tests/output/bug60322.phpt
| From: | Stanislav Malyshev | Date: | Thu, 13 Jun 2013 17:30:00 +0000 |
| Subject: | com php-src: fix test for bug #60322: tests/output/bug60322.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72376@lists.php.net to get a copy of this message | ||
Commit: 10b9579395641d96baf267bd880366aee690c1e0
Author: Stanislav Malyshev <stas@php.net> Thu, 13 Jun 2013 10:23:23 -0700
Parents: ed2690477c29bfea640e00697070fca62b4d8b09
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=10b9579395641d96baf267bd880366aee690c1e0
Log:
fix test for bug #60322
Bugs:
https://bugs.php.net/60322
Changed paths:
M tests/output/bug60322.phpt
Diff:
diff --git a/tests/output/bug60322.phpt b/tests/output/bug60322.phpt
index c28ab4d..f4d7139 100644
--- a/tests/output/bug60322.phpt
+++ b/tests/output/bug60322.phpt
@@ -1,8 +1,11 @@
--TEST--
Bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
+--INI--
+output_buffering=128
--FILE--
<?php
-while(ob_get_clean()) ;
+ob_start();
+while(@ob_end_clean());
var_dump(ob_get_clean());
--EXPECT--
bool(false)