Skip to content

Commit 7ade242

Browse files
Mikhail Galaninbukka
Mikhail Galanin
authored andcommitted
sapi/fpm: add "pcntl" when running test depending pcntl_sigprocmask()
If "pcntl" is built as a shared module, the extension will not load automatically when we spawn the FPM
1 parent 4fcb3e0 commit 7ade242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/tests/reload-uses-sigkill-as-last-measure.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
3535
EOT;
3636

3737
$tester = new FPM\Tester($cfg, $code);
38-
$tester->start();
38+
$tester->start(extensions: ['pcntl']);
3939
$tester->expectLogStartNotices();
4040
$tester->request()->expectEmptyBody();
4141
$tester->signal('USR2');

0 commit comments

Comments
 (0)