Skip to content

Commit 650aa93

Browse files
committed
Win test fix
1 parent 3c9a893 commit 650aa93

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

ext/sockets/tests/socket_export_stream-4-win.phpt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ socket_bind($sock4, '0.0.0.0', 0);
7373
$stream4 = socket_export_stream($sock4);
7474
socket_close($sock4);
7575
test($stream4, $sock4);
76-
77-
echo "Done.\n";
7876
--EXPECTF--
7977
normal
8078
stream_set_blocking 1
@@ -99,7 +97,7 @@ Warning: socket_set_block(): unable to set blocking mode [%d]: An operation was
9997
in %s on line %d
10098

10199
socket_get_option
102-
Warning: socket_get_option(): unable to retrieve socket option [%d]: An operation was attempted on something that is not a socket.
100+
Warning: socket_get_option(): Unable to retrieve socket option [%d]: An operation was attempted on something that is not a socket.
103101
in %s on line %d
104102

105103

@@ -110,6 +108,3 @@ stream_set_blocking stream_set_blocking(): supplied resource is not a valid stre
110108
socket_set_block socket_set_block(): supplied resource is not a valid Socket resource
111109

112110
socket_get_option socket_get_option(): supplied resource is not a valid Socket resource
113-
114-
115-
Done.

ext/sockets/tests/socket_import_stream-4-win.phpt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ $stream4 = stream_socket_server("udp://0.0.0.0:0", $errno, $errstr, STREAM_SERVE
6868
$sock4 = socket_import_stream($stream4);
6969
socket_close($sock4);
7070
test($stream4, $sock4);
71-
72-
echo "Done.\n";
7371
--EXPECTF--
7472
normal
7573
stream_set_blocking 1
@@ -94,7 +92,7 @@ Warning: socket_set_block(): unable to set blocking mode [10038]: %s
9492
in %ssocket_import_stream-4-win.php on line %d
9593

9694
socket_get_option
97-
Warning: socket_get_option(): unable to retrieve socket option [10038]: %s
95+
Warning: socket_get_option(): Unable to retrieve socket option [10038]: %s
9896
in %ssocket_import_stream-4-win.php on line %d
9997

10098

@@ -105,6 +103,3 @@ stream_set_blocking stream_set_blocking(): supplied resource is not a valid stre
105103
socket_set_block socket_set_block(): supplied resource is not a valid Socket resource
106104

107105
socket_get_option socket_get_option(): supplied resource is not a valid Socket resource
108-
109-
110-
Done.

ext/sockets/tests/socket_shutdown-win32.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ bool(true)
5050
bool(true)
5151
bool(true)
5252

53-
Warning: socket_shutdown(): unable to shutdown socket [%d]: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
53+
Warning: socket_shutdown(): Unable to shutdown socket [%d]: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
5454
in %s on line %d
5555
bool(false)
5656

57-
Warning: socket_shutdown(): unable to shutdown socket [%d]: An invalid argument was supplied.
57+
Warning: socket_shutdown(): Unable to shutdown socket [%d]: An invalid argument was supplied.
5858
in %s on line %d
5959
bool(false)

0 commit comments

Comments
 (0)