Bug #61634 [Com]: Test ext\sockets\tests\socket_listen-wrongparams.phpt fails

From: Date: Tue, 10 Apr 2012 02:00:26 +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-169384@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: mattficken@php.net 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: 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] 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

« previous php.bugs (#169384) next »