From 5923eb1c6b9bcf4a9ee7c4486e5901d2cfc42754 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 28 Dec 2020 18:53:50 +0100 Subject: Enable 2 more tests --- src/tests/disable_function/disabled_functions_param.phpt | 1 - src/tests/disable_function/disabled_functions_param_pos2.phpt | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tests/disable_function') 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 @@ Disable functions --SKIPIF-- -= 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param.ini --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 @@ Disable functions - match on argument's position, not the first time --SKIPIF-- -= 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_pos.ini --FILE-- @@ -11,4 +10,4 @@ strtoupper("od"); strtoupper("id"); ?> --EXPECTF-- -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 +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 -- cgit v1.3