mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
fix flaky test on OSX
This commit is contained in:
parent
eac238fb6c
commit
abe38b5e48
@ -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--
|
||||
|
Loading…
Reference in New Issue
Block a user