fix flaky test on OSX

This commit is contained in:
Joe Watkins 2019-06-12 08:33:07 +02:00
parent eac238fb6c
commit abe38b5e48
No known key found for this signature in database
GPG Key ID: F9BA0ADA31CBD89E

View File

@ -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--