mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Sockets disable zerocopy test on ppc based arch.
Failure reported by alpine maintainers. Closes #9081.
This commit is contained in:
parent
02881a76a8
commit
067a3022f8
1 changed files with 4 additions and 0 deletions
|
@ -4,9 +4,13 @@ Test socket_sendto with MSG_ZEROCOPY
|
|||
sockets
|
||||
--SKIPIF--
|
||||
<?php
|
||||
$arch = php_uname('m');
|
||||
if (!defined("SO_ZEROCOPY")) {
|
||||
die('skip SO_ZEROCOPY');
|
||||
}
|
||||
if (strpos($arch, 'ppc') !== false || strpos($arch, 'powerpc') !== false) {
|
||||
die('skip not for powerpc arch');
|
||||
}
|
||||
--FILE--
|
||||
<?php
|
||||
$socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue