php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61518 skip on windows - ext/standard/tests/streams/bug60106.phpt
Submitted: 2012-03-26 16:59 UTC Modified: 2012-03-27 17:30 UTC
From: mattficken@php.net Assigned: ab
Status: Closed Package: Testing related
PHP Version: 5.3.10 OS: Windows
Private report: No CVE-ID:
 [2012-03-26 16:59 UTC] mattficken@php.net
Description:
------------
This test tries to use unix sockets which aren't supported on Windows.

This test should be skipped on Windows.

Expected result:
----------------
pass or skip

Actual result:
--------------
fail on Windows

Patches

bug60106.diff (last revision 2012-03-27 08:56 UTC) by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-27 08:56 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: bug60106.diff
Revision:   1332838568
URL:        https://bugs.php.net/patch-display.php?bug=61518&patch=bug60106.diff&revision=1332838568
 [2012-03-27 08:58 UTC] ab@php.net
extended the patch for the test to pass on linux - fixed a's count
 [2012-03-27 17:26 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=da85d5b4a00943a267db910299bdaee04c081c25
Log: Fix bug #61518 skip on windows, fix on linux - ext/standard/tests/streams/bug60106.phpt
 [2012-03-27 17:30 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-03-27 17:30 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-03-29 04:23 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=da85d5b4a00943a267db910299bdaee04c081c25
Log: Fix bug #61518 skip on windows, fix on linux - ext/standard/tests/streams/bug60106.phpt
 [2012-04-02 23:09 UTC] mattficken@php.net
For me, patch skips this test on Windows (which its supposed to).

However, on Linux, with PHP5.3.11rc1, the test fails (with or without the patch) because the socket name printed in the warning messages doesn't have 4096 'a' characters like the test expects.
 [2012-04-12 15:45 UTC] reeze dot xia at gmail dot com
@mattficken @ab
Indeed bugfix #60106 failed too, this is because php's default 
log_errors_max_len=1024, but trying to output more than that. error log have been
trancated. so test failed.

I've sent a pull request https://github.com/php/php-src/pull/55.

Thanks.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 12:01:52 2014 UTC