Edit report at https://bugs.php.net/bug.php?id=61634&edit=1

 ID:                 61634
 Comment by:         mattfic...@php.net
 Reported by:        a...@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:

The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on 
php-5-3-r0f180a6.


Previous Comments:
------------------------------------------------------------------------
[2012-04-05 14:05:18] a...@php.net

The patch disables this test on windows as unix sockets are not available there.

------------------------------------------------------------------------
[2012-04-05 14:04:40] a...@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] a...@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

Reply via email to