Bug #61634 [Com]: Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
| From: | reeze dot xia at gmail dot com | Date: | Sun, 09 Sep 2012 10:19:55 +0000 |
| Subject: | Bug #61634 [Com]: Test ext\sockets\tests\socket_listen-wrongparams.phpt fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173274@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61634&edit=1
ID: 61634
Comment by: reeze dot xia at gmail dot com
Reported by: ab@php.net
Summary: Test
ext\sockets\tests\socket_listen-wrongparams.phpt
fails
Status: Open
Type: Bug
Package: Sockets related
Operating System: Windows
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
This could be closed...
Previous Comments:
------------------------------------------------------------------------
[2012-04-10 11:19:02] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c4676ee99f5381de502cd6544a9c42a25b53b933
Log: Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
------------------------------------------------------------------------
[2012-04-10 02:00:26] mattficken@php.net
The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on php-5-3-r0f180a6.
------------------------------------------------------------------------
[2012-04-05 14:05:18] ab@php.net
The patch disables this test on windows as unix sockets are not available there.
------------------------------------------------------------------------
[2012-04-05 14:04:40] ab@php.net
The following patch has been added/updated:
Patch Name: 61634.diff
Revision: 1333634680
URL: https://bugs.php.net/patch-display.php?bug=61634&patch=61634.diff&revision=1333634680
------------------------------------------------------------------------
[2012-04-05 12:28:58] ab@php.net
Description:
------------
Test diff:
004+ Warning: socket_create(): Unable to create socket [0]: An address incompatible with the
requested protocol was used.
005+ in C:\php-sdk\php53\vc9\x86\php-src\ext\sockets\tests\socket_listen-wrongparams.php on line 3
004- Warning: socket_listen(): unable to listen on socket [%d]: Invalid argument in %s on line %d
005- bool(false)
006+
007+ Warning: socket_listen() expects parameter 1 to be resource, boolean given in
C:\php-sdk\php53\vc9\x86\php-src\ext\sockets\tests\socket_listen-wrongparams.php on line 4
008+ NULL
Expected result:
----------------
test pass
Actual result:
--------------
test fail
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61634&edit=1