Skip to content

Commit 067a302

Browse files
committed
Sockets disable zerocopy test on ppc based arch.
Failure reported by alpine maintainers. Closes php#9081.
1 parent 02881a7 commit 067a302

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/sockets/tests/socket_sendto_zerocopy.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ Test socket_sendto with MSG_ZEROCOPY
44
sockets
55
--SKIPIF--
66
<?php
7+
$arch = php_uname('m');
78
if (!defined("SO_ZEROCOPY")) {
89
die('skip SO_ZEROCOPY');
910
}
11+
if (strpos($arch, 'ppc') !== false || strpos($arch, 'powerpc') !== false) {
12+
die('skip not for powerpc arch');
13+
}
1014
--FILE--
1115
<?php
1216
$socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);

0 commit comments

Comments
 (0)