diff options
Diffstat (limited to 'src/tests/example_configuration.phpt')
| -rw-r--r-- | src/tests/example_configuration.phpt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/tests/example_configuration.phpt b/src/tests/example_configuration.phpt deleted file mode 100644 index 6c2e82d..0000000 --- a/src/tests/example_configuration.phpt +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Shipped configuration | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/../../config/examples.rules | ||
| 7 | --FILE-- | ||
| 8 | <?php | ||
| 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 | } | ||
| 18 | ?> | ||
| 19 | --EXPECTF-- | ||
| 20 | win | ||
