Skip to content

Commit 0647712

Browse files
committed
Fix test for alpine, and skip for windows
1 parent a49ced0 commit 0647712

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

ext/standard/tests/network/stream_socket_server_bind_error.phpt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
stream_socket_server() bind error
3+
--SKIPIF--
4+
<?php
5+
if (substr(PHP_OS, 0, 3) == 'WIN' ) {
6+
die('skip not for Windows');
7+
}
8+
?>
39
--FILE--
410
<?php
511

@@ -10,4 +16,4 @@ fclose($server1);
1016

1117
?>
1218
--EXPECTF--
13-
Warning: stream_socket_server(): Unable to connect to tcp://0.0.0.0:%d (Address already in use) in %s on line %d
19+
Warning: stream_socket_server(): Unable to connect to tcp://0.0.0.0:%d (Address %r(already )?%rin use) in %s on line %d

0 commit comments

Comments
 (0)