diff options
| author | jvoisin | 2020-12-28 18:53:50 +0100 |
|---|---|---|
| committer | jvoisin | 2020-12-28 18:53:50 +0100 |
| commit | 5923eb1c6b9bcf4a9ee7c4486e5901d2cfc42754 (patch) | |
| tree | 80f1f93a325319044cd8dd07b426832c397d093f /src/tests/disable_function | |
| parent | 1d5f534d012729450a7930cc6af5c69f4d263d37 (diff) | |
Enable 2 more tests
Diffstat (limited to 'src/tests/disable_function')
| -rw-r--r-- | src/tests/disable_function/disabled_functions_param.phpt | 1 | ||||
| -rw-r--r-- | src/tests/disable_function/disabled_functions_param_pos2.phpt | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_functions_param.phpt b/src/tests/disable_function/disabled_functions_param.phpt index f384401..0a9e8eb 100644 --- a/src/tests/disable_function/disabled_functions_param.phpt +++ b/src/tests/disable_function/disabled_functions_param.phpt | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | Disable functions | 2 | Disable functions |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | <?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> | ||
| 6 | --INI-- | 5 | --INI-- |
| 7 | sp.configuration_file={PWD}/config/config_disabled_functions_param.ini | 6 | sp.configuration_file={PWD}/config/config_disabled_functions_param.ini |
| 8 | --FILE-- | 7 | --FILE-- |
diff --git a/src/tests/disable_function/disabled_functions_param_pos2.phpt b/src/tests/disable_function/disabled_functions_param_pos2.phpt index bfe71ee..06ab5aa 100644 --- a/src/tests/disable_function/disabled_functions_param_pos2.phpt +++ b/src/tests/disable_function/disabled_functions_param_pos2.phpt | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | Disable functions - match on argument's position, not the first time | 2 | Disable functions - match on argument's position, not the first time |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | <?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> | ||
| 6 | --INI-- | 5 | --INI-- |
| 7 | sp.configuration_file={PWD}/config/disabled_functions_pos.ini | 6 | sp.configuration_file={PWD}/config/disabled_functions_pos.ini |
| 8 | --FILE-- | 7 | --FILE-- |
| @@ -11,4 +10,4 @@ strtoupper("od"); | |||
| 11 | strtoupper("id"); | 10 | strtoupper("id"); |
| 12 | ?> | 11 | ?> |
| 13 | --EXPECTF-- | 12 | --EXPECTF-- |
| 14 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument 'str' content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 | 13 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument %s content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 |
