Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c6a6cb7

Browse files
[skip ci] Skip php_cli_server_pdeathsig.phpt if pgrep is missing
Fixes GH-19911 Closes GH-19923
1 parent a885372 commit c6a6cb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎sapi/cli/tests/php_cli_server_pdeathsig.phpt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if (!(str_contains(PHP_OS, 'Linux') || str_contains(PHP_OS, 'FreeBSD'))) {
99
die('skip PDEATHSIG is only supported on Linux and FreeBSD');
1010
}
1111
if (@file_exists('/.dockerenv')) die("skip Broken in Docker");
12+
if (!shell_exec("which pgrep")) die("skip Missing pgrep command");
1213
?>
1314
--FILE--
1415
<?php

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /