diff options
| author | Thibault "bui" Koechlin | 2017-10-18 13:17:46 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-18 13:17:46 +0200 |
| commit | 8f94a1179e9cf9d96f18ec6c851dddbecd54ea6f (patch) | |
| tree | 970a0cd9f700935e4bd16e73dc630dd3e36554ab /src/tests/disabled_functions_param.phpt | |
| parent | da49f804ad5ae283c10ad757cd39bcc212b66f88 (diff) | |
.drop() is not a `nop` anymore
`.drop()` is now baillout out, instead of nop'ing the call.
This closes #13
Diffstat (limited to 'src/tests/disabled_functions_param.phpt')
| -rw-r--r-- | src/tests/disabled_functions_param.phpt | 6 |
1 files changed, 0 insertions, 6 deletions
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); | |||
| 16 | ?> | 16 | ?> |
| 17 | --EXPECTF-- | 17 | --EXPECTF-- |
| 18 | [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'. | 18 | [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'. |
| 19 | win | ||
| 20 | int(15) | ||
| 21 | [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'. | ||
| 22 | 42 | ||
| 23 | [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'. | ||
| 24 | [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. | ||
