diff options
author | Joe Watkins <krakjoe@php.net> | 2019-06-12 08:33:07 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-06-12 08:33:07 +0200 |
commit | abe38b5e4823b08cdec72ca6207fc41a9a0a3152 (patch) | |
tree | ab5f909b9c0d1f45be2293fe7cb72b7df2e4c2d9 | |
parent | eac238fb6cb6f38c2f3ba1d0fa129ea8d42fec38 (diff) | |
download | php-git-abe38b5e4823b08cdec72ca6207fc41a9a0a3152.tar.gz |
fix flaky test on OSX
-rw-r--r-- | ext/sockets/tests/socket_create_listen-nobind.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/tests/socket_create_listen-nobind.phpt b/ext/sockets/tests/socket_create_listen-nobind.phpt index c23ed5b642..bdd4d3dc2a 100644 --- a/ext/sockets/tests/socket_create_listen-nobind.phpt +++ b/ext/sockets/tests/socket_create_listen-nobind.phpt @@ -14,7 +14,7 @@ if (fileowner($filename) == 0) { } --FILE-- <?php -$sock = socket_create_listen(80); +$sock = socket_create_listen(PHP_OS == "Darwin" ? 427 : 80); --EXPECTF-- Warning: socket_create_listen(): unable to bind to given address [13]: Permission denied in %s on line %d --CLEAN-- |