diff options
| author | jvoisin | 2020-05-01 19:50:56 +0200 |
|---|---|---|
| committer | jvoisin | 2020-05-01 20:39:05 +0200 |
| commit | 3e2b6545b623f0ba1b016c03b43d999cfcbc8d2f (patch) | |
| tree | 9f213016094a6b03f4871599f1350a21f7a896d1 /src/tests/xxe/disable_xxe_xml_parse.phpt | |
| parent | 4a5a1922f105bf0d4ee002088a6e6ece67ae0b9e (diff) | |
Make the testsuite work on php7.4
Before php7.4, it seems that the curl module was loaded by default, but since
it's no the case anymore, it has to be manually specified in the testsuite.
Interestingly, Php's testsuite mechanism is running snippets to determine some
runtime parameters like the extension directory. Unfortunately,it tries to run
them with Snuffleupagus loaded, resulting in an error, since no configuration
file is passed.
Diffstat (limited to 'src/tests/xxe/disable_xxe_xml_parse.phpt')
| -rw-r--r-- | src/tests/xxe/disable_xxe_xml_parse.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/xxe/disable_xxe_xml_parse.phpt b/src/tests/xxe/disable_xxe_xml_parse.phpt index ca77729..b6dec2d 100644 --- a/src/tests/xxe/disable_xxe_xml_parse.phpt +++ b/src/tests/xxe/disable_xxe_xml_parse.phpt | |||
| @@ -8,6 +8,8 @@ Disable XXE in xml_parse | |||
| 8 | echo "skip because the `xml` extension isn't loaded"; | 8 | echo "skip because the `xml` extension isn't loaded"; |
| 9 | } | 9 | } |
| 10 | ?> | 10 | ?> |
| 11 | --EXTENSIONS-- | ||
| 12 | xml | ||
| 11 | --INI-- | 13 | --INI-- |
| 12 | sp.configuration_file={PWD}/config/disable_xxe.ini | 14 | sp.configuration_file={PWD}/config/disable_xxe.ini |
| 13 | --FILE-- | 15 | --FILE-- |
