]> granicus.if.org Git - php/commitdiff
fixed language dependent Windows socket tests
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 7 Jun 2015 15:07:52 +0000 (17:07 +0200)
committerAnatol Belski <ab@php.net>
Mon, 8 Jun 2015 06:13:30 +0000 (08:13 +0200)
ext/sockets/tests/socket_import_stream-4-win.phpt
ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt

index 0effd04d3420316f002b40dd2a07a4562aa077dc..1c9a7789c6298b7fbce327bde1057db4ba10e34b 100644 (file)
@@ -80,11 +80,11 @@ stream_set_blocking
 Warning: stream_set_blocking(): supplied resource is not a valid stream resource in %s on line %d
 
 socket_set_block 
-Warning: socket_set_block(): unable to set blocking mode [%d]: An operation was attempted on something that is not a socket.
+Warning: socket_set_block(): unable to set blocking mode [10038]: %s
  in %ssocket_import_stream-4-win.php on line %d
 
 socket_get_option 
-Warning: socket_get_option(): unable to retrieve socket option [%d]: An operation was attempted on something that is not a socket.
+Warning: socket_get_option(): unable to retrieve socket option [10038]: %s
  in %ssocket_import_stream-4-win.php on line %d
 
 
index ec965094bcc415a4175e46b875b5b399a54a47a1..8754028f84b43d6da7cf4cb235689a700410531e 100644 (file)
@@ -48,7 +48,7 @@ require 'ipv6_skipif.inc';
 
     socket_close($socket);
 --EXPECTF--
-Warning: socket_recvfrom(): unable to recvfrom [10022]: An invalid argument was supplied.
+Warning: socket_recvfrom(): unable to recvfrom [10022]: %s
  in %s on line %d
 
 Warning: Wrong parameter count for socket_sendto() in %s on line %d