summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_param_pos.phpt
diff options
context:
space:
mode:
authorGiovanni2020-07-21 11:58:22 +0200
committerGitHub2020-07-21 11:58:22 +0200
commitb90e0ecc6b0717786ae72236c37157f1b5983521 (patch)
tree8b9bdb4aaa8ba6bfdf1baef09df88afa64c8a4f6 /src/tests/disable_function/disabled_functions_param_pos.phpt
parent043d9897b4d6879f9a91dbd0ccdb476649731f7c (diff)
Fix #338 - added log type if type is simulation, drop or log. (#339)
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
Diffstat (limited to 'src/tests/disable_function/disabled_functions_param_pos.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_param_pos.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_functions_param_pos.phpt b/src/tests/disable_function/disabled_functions_param_pos.phpt
index 468c09e..8d5f93f 100644
--- a/src/tests/disable_function/disabled_functions_param_pos.phpt
+++ b/src/tests/disable_function/disabled_functions_param_pos.phpt
@@ -9,6 +9,6 @@ sp.configuration_file={PWD}/config/disabled_functions_pos.ini
9system("id"); 9system("id");
10?> 10?>
11--EXPECTF-- 11--EXPECTF--
12Warning: [snuffleupagus][0.0.0.0][config] It seems that you wrote a rule filtering on the 1337th argument of the function 'system', but it takes only 1 arguments. Matching on _all_ arguments instead. in %a/disabled_functions_param_pos.php on line 2 12Warning: [snuffleupagus][0.0.0.0][config][log] It seems that you wrote a rule filtering on the 1337th argument of the function 'system', but it takes only 1 arguments. Matching on _all_ arguments instead. in %a/disabled_functions_param_pos.php on line 2
13 13
14Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'system', because its argument 'command' content (id) matched a rule in %a/disabled_functions_param_pos.php on line %d 14Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument 'command' content (id) matched a rule in %a/disabled_functions_param_pos.php on line %d