From 8f94a1179e9cf9d96f18ec6c851dddbecd54ea6f Mon Sep 17 00:00:00 2001 From: Thibault "bui" Koechlin Date: Wed, 18 Oct 2017 13:17:46 +0200 Subject: .drop() is not a `nop` anymore `.drop()` is now baillout out, instead of nop'ing the call. This closes #13--- src/tests/disabled_functions_param.phpt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/tests/disabled_functions_param.phpt') diff --git a/src/tests/disabled_functions_param.phpt b/src/tests/disabled_functions_param.phpt index 61521cd..d9f8767 100644 --- a/src/tests/disabled_functions_param.phpt +++ b/src/tests/disabled_functions_param.phpt @@ -16,9 +16,3 @@ strncmp("bla", "ble", 2); ?> --EXPECTF-- [snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'system' in %a/disabled_functions_param.php:2 has been disabled, because its argument 'command' content (id) matched the rule '1'. -win -int(15) -[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'shell_exec' in %a/disabled_functions_param.php:5 has been disabled, because its argument 'cmd' content (id) matched the rule '3'. -42 -[snuffleupagus][0.0.0.0][disabled_function][simulation] The call to the function 'strcmp' in %a/tests/disabled_functions_param.php:7 has been disabled, because its argument 'str1' content (bla) matched the rule '5'. -[snuffleupagus][0.0.0.0][disabled_function][simulation] The call to the function 'strncmp' in %a/tests/disabled_functions_param.php:8 has been disabled, because its argument 'str1' content (bla) matched a rule. -- cgit v1.3