mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make php_cli_server_pdeathsig.phpt SKIPIF more specific
This commit is contained in:
parent
782ffd761b
commit
bad5298707
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,7 @@ include "skipif.inc";
|
||||||
if (!(str_contains(PHP_OS, 'Linux') || str_contains(PHP_OS, 'FreeBSD'))) {
|
if (!(str_contains(PHP_OS, 'Linux') || str_contains(PHP_OS, 'FreeBSD'))) {
|
||||||
die('skip PDEATHSIG is only supported on Linux and 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 (@file_exists('/.dockerenv')) die("skip Broken in Docker");
|
||||||
if (PHP_INT_SIZE != 8) die("skip 64-bit only");
|
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue