File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ import pytest
2+
3+
4+ @pytest .mark .php_fpm_exec
5+ def test_php_fpm_exec_has_dumb_init (host ):
6+ php_fpm_exec = host .run ("ps 1" )
7+
8+ assert "dumb-init" in php_fpm_exec .stdout
9+ assert "--rewrite 2:3" in php_fpm_exec .stdout
10+ assert "--rewrite 15:3" in php_fpm_exec .stdout
11+ assert "--rewrite 1:17" in php_fpm_exec .stdout
12+
13+ assert "shush" not in php_fpm_exec .stdout
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ def test_php_images_contain_helper_scripts(host):
1111 "/usr/local/bin/docker-php-ext-pdo-pgsql" ,
1212 "/usr/local/bin/docker-php-ext-rdkafka" ,
1313 "/usr/local/bin/docker-php-entrypoint" ,
14+ "/usr/local/bin/docker-php-entrypoint-init" ,
1415 "/usr/local/bin/php-fpm-healthcheck" ,
1516 ]
1617
You can’t perform that action at this time.
0 commit comments