1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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

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