From a2c564b9e66f7a13b10ebfbc8956d42f6dd627fb Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 9 Aug 2009 14:50:51 +0000 Subject: [PATCH] Make these socket tests less Linux-specific --- ext/sockets/tests/socket_create_listen.phpt | 6 +++--- ext/sockets/tests/socket_create_pair-wrongparams.phpt | 6 +++--- ext/sockets/tests/socket_sentto_recvfrom_ipv4_udp.phpt | 2 +- ext/sockets/tests/socket_sentto_recvfrom_unix.phpt | 4 ++-- ext/sockets/tests/socket_set_block-retval.phpt | 4 ++-- ext/sockets/tests/socket_set_nonblock-retval.phpt | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) 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--