diff options
| author | jvoisin | 2018-01-17 14:53:40 +0100 |
|---|---|---|
| committer | jvoisin | 2018-01-17 14:53:40 +0100 |
| commit | c473be13687ebd98c328f390d936be311dae7db6 (patch) | |
| tree | 135d31682ca0a382fc417f1d008c9ee8bcd49d5d /src/tests | |
| parent | bd02d0689190f526c99eee9b35c1335bd96a74af (diff) | |
Our configuration files are ending in .rules, not .ini
This commit fixes the documentation, our shipped configuration files,
and the related tests.
Thanks to @remicollet for the tip
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/example_configuration.phpt | 2 | ||||
| -rw-r--r-- | src/tests/inexistent_conf_file_list.phpt | 2 | ||||
| -rw-r--r-- | src/tests/shipped_configuration.phpt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/example_configuration.phpt b/src/tests/example_configuration.phpt index 74bdb49..6c2e82d 100644 --- a/src/tests/example_configuration.phpt +++ b/src/tests/example_configuration.phpt | |||
| @@ -3,7 +3,7 @@ Shipped configuration | |||
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/../../config/examples.ini | 6 | sp.configuration_file={PWD}/../../config/examples.rules |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php | 8 | <?php |
| 9 | ob_start(); | 9 | ob_start(); |
diff --git a/src/tests/inexistent_conf_file_list.phpt b/src/tests/inexistent_conf_file_list.phpt index afb77a2..2f6e204 100644 --- a/src/tests/inexistent_conf_file_list.phpt +++ b/src/tests/inexistent_conf_file_list.phpt | |||
| @@ -3,7 +3,7 @@ Non-existent configuration file in a list | |||
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/../../config/default.ini,{PWD}/non_existent_configuration_file | 6 | sp.configuration_file={PWD}/../../config/default.rules,{PWD}/non_existent_configuration_file |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php ?> | 8 | <?php ?> |
| 9 | --EXPECTF-- | 9 | --EXPECTF-- |
diff --git a/src/tests/shipped_configuration.phpt b/src/tests/shipped_configuration.phpt index c060a85..dd6b92b 100644 --- a/src/tests/shipped_configuration.phpt +++ b/src/tests/shipped_configuration.phpt | |||
| @@ -3,7 +3,7 @@ Shipped configuration | |||
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/../../config/default.ini | 6 | sp.configuration_file={PWD}/../../config/default.rules |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php | 8 | <?php |
| 9 | system("echo 0"); | 9 | system("echo 0"); |
