HEAD tests broken under Windows
| From: | Steph Fox | Date: | Thu, 12 Jun 2008 02:32:25 +0000 |
| Subject: | HEAD tests broken under Windows | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-38175@lists.php.net to get a copy of this message | ||
Hi all,
I'm hopeful that run-tests.php will now work as advertised under CVS HEAD in most places. However it's still not right under Windows, and I finally tracked that down to the fact that file_put_contents() in PHP 6 will insist on creating a file with DOS line endings. The test files are created from .phpt --FILE-- sections using file_put_contents(), so there are a vast number of fails under doze due to an extra character in output strings there.
There's a *closed* PHP bug on this which was raised by Zoe over a year ago, see http://bugs.php.net/bug.php?id=41609. For some obscure reason it was seen as a documentation problem at the time. This is an extreme change in behaviour, not a documentation problem, and needs proper analysis.
Could someone please look into it?
Thanks,
- Steph