Skip to content

Commit

Permalink
Sockets disable zerocopy test on ppc based arch.
Browse files Browse the repository at this point in the history
Failure reported by alpine maintainers.
Closes #9081.
  • Loading branch information
devnexen committed Jul 21, 2022
1 parent 02881a7 commit 067a302
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/sockets/tests/socket_sendto_zerocopy.phpt
Expand Up @@ -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);
Expand Down

0 comments on commit 067a302

Please sign in to comment.