diff options
Diffstat (limited to 'src/tests/example_configuration.phpt')
| -rw-r--r-- | src/tests/example_configuration.phpt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/tests/example_configuration.phpt b/src/tests/example_configuration.phpt index b7fec48..74bdb49 100644 --- a/src/tests/example_configuration.phpt +++ b/src/tests/example_configuration.phpt | |||
| @@ -6,7 +6,15 @@ Shipped configuration | |||
| 6 | sp.configuration_file={PWD}/../../config/examples.ini | 6 | sp.configuration_file={PWD}/../../config/examples.ini |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php | 8 | <?php |
| 9 | echo 0; | 9 | ob_start(); |
| 10 | phpinfo(); | ||
| 11 | $info = ob_get_clean(); | ||
| 12 | ob_get_clean(); | ||
| 13 | if (strstr($info, 'Valid config => yes') !== FALSE) { | ||
| 14 | echo "win"; | ||
| 15 | } else { | ||
| 16 | echo "lose"; | ||
| 17 | } | ||
| 10 | ?> | 18 | ?> |
| 11 | --EXPECTF-- | 19 | --EXPECTF-- |
| 12 | 0 | 20 | win |
