Make php_cli_server_pdeathsig.phpt SKIPIF more specific

This commit is contained in:
Ilija Tovilo 2023-08-22 23:51:56 +02:00
parent 782ffd761b
commit bad5298707
No known key found for this signature in database
GPG key ID: A4F5D403F118200A

View file

@ -8,8 +8,7 @@ include "skipif.inc";
if (!(str_contains(PHP_OS, 'Linux') || str_contains(PHP_OS, 'FreeBSD'))) {
die('skip PDEATHSIG is only supported on Linux and FreeBSD');
}
// This fails on 32-bit GitHub actions (probably due to Docker rather than 32-bit)
if (PHP_INT_SIZE != 8) die("skip 64-bit only");
if (@file_exists('/.dockerenv')) die("skip Broken in Docker");
?>
--FILE--
<?php