Sockets disable zerocopy test on ppc based arch.

Failure reported by alpine maintainers.
Closes #9081.
This commit is contained in:
David Carlier 2022-07-21 13:00:37 +01:00
parent 02881a76a8
commit 067a3022f8

View file

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