From: Rasmus Lerdorf Date: Sun, 9 Aug 2009 14:50:51 +0000 (+0000) Subject: Make these socket tests less Linux-specific X-Git-Tag: php-5.3.1RC1~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2c564b9e66f7a13b10ebfbc8956d42f6dd627fb;p=php Make these socket tests less Linux-specific --- diff --git a/ext/sockets/tests/socket_create_listen.phpt b/ext/sockets/tests/socket_create_listen.phpt index 6d607cab6f..440fade61d 100644 --- a/ext/sockets/tests/socket_create_listen.phpt +++ b/ext/sockets/tests/socket_create_listen.phpt @@ -1,5 +1,5 @@ --TEST-- -Test if socket binds on 31337 +Test if socket binds on 31338 --SKIPIF-- --EXPECTF-- -Warning: socket_create(): Unable to create socket [93]: Protocol not supported in %s on line %d +Warning: socket_create(): Unable to create socket [%d]: Protocol not supported in %s on line %d -Warning: socket_recvfrom(): unable to recvfrom [11]: Resource temporarily unavailable in %s on line %d +Warning: socket_recvfrom(): unable to recvfrom [%d]: Resource temporarily unavailable in %s on line %d Warning: socket_sendto() expects at least 5 parameters, 4 given in %s on line %d bool(false) diff --git a/ext/sockets/tests/socket_set_block-retval.phpt b/ext/sockets/tests/socket_set_block-retval.phpt index fe09d5a5b7..2aa4b0e5c4 100644 --- a/ext/sockets/tests/socket_set_block-retval.phpt +++ b/ext/sockets/tests/socket_set_block-retval.phpt @@ -9,11 +9,11 @@ if (!extension_loaded('sockets')) { --FILE--