Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP-FPM: Add a test for failing to load dynamic modules #150

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
7 changes: 6 additions & 1 deletion php/fpm/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
schemaVersion: '2.0.0'

commandTests:
- name: 'check configuration'
- name: 'check fpm configuration'
command: "sh"
args: ["-c", "mkdir /data/app && php-fpm --test"]

- name: 'check for unloaded modules'
command: "sh"
args: ["-c", "php -i | grep 'Unable to load dynamic library'"]
exitCode: 1