Skip to content
Snippets Groups Projects
Commit 8dda4776 authored by nimrod's avatar nimrod
Browse files

- Added a php.ini validity test.

parent 9e39ed54
No related branches found
No related tags found
No related merge requests found
...@@ -13,3 +13,11 @@ def test_composer(Command): ...@@ -13,3 +13,11 @@ def test_composer(Command):
def test_pear(Command): def test_pear(Command):
assert Command('pear version').stdout.startswith('PEAR Version') assert Command('pear version').stdout.startswith('PEAR Version')
def test_php_ini(Command):
command = Command('php5 --info')
assert command.rc == 0
assert 'PHP Version => 5' in command.stdout
assert 'syntax error' not in command.stdout
assert 'syntax error' not in command.stderr
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment