diff options
Diffstat (limited to 'src/tests/broken_configuration_php8/broken_conf_missing_script.phpt')
| -rw-r--r-- | src/tests/broken_configuration_php8/broken_conf_missing_script.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/broken_configuration_php8/broken_conf_missing_script.phpt b/src/tests/broken_configuration_php8/broken_conf_missing_script.phpt new file mode 100644 index 0000000..2ddb70f --- /dev/null +++ b/src/tests/broken_configuration_php8/broken_conf_missing_script.phpt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | --TEST-- | ||
| 2 | Invalid configuration file for upload | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (PHP_VERSION_ID < 80000) print "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | file_uploads=1 | ||
| 7 | sp.configuration_file={PWD}/config/broken_conf_missing_script.ini | ||
| 8 | --FILE-- | ||
| 9 | <?php | ||
| 10 | echo 1; | ||
| 11 | ?> | ||
| 12 | --EXPECTF-- | ||
| 13 | |||
| 14 | Fatal error: [snuffleupagus][0.0.0.0][config][log] The `script` directive is mandatory in '.enable();' on line 1 in Unknown on line 0 | ||
| 15 | |||
| 16 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 | ||
| 17 | Could not startup. | ||
