Test for bug #26862
| From: | Scott MacVicar | Date: | Tue, 06 Apr 2004 20:23:32 +0000 |
| Subject: | Test for bug #26862 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-16158@lists.php.net to get a copy of this message | ||
I was running tests on a fresh installation and noticed that bug #26862 was failing even though I know the bug was definitely fixed.
FAIL Bug #26862 (ob_flush() before output_reset_rewrite_vars() results in data loss) [ext/session/tests/bug26862.phpt]
I had a look at the test file and noticed that session_start(); is called even when its not needed.
This was causing the error as it was unable to access the temporary directory specified and an error was being printed at the top as well as the expected output for the test.
session_start() can be removed from ext/session/tests/bug26862.phpt and the bug is really regarding output buffering and not session so it should probably belong in ext/standard/tests/
Cheers,
Scott