diff options
| author | Giovanni | 2020-07-21 11:58:22 +0200 |
|---|---|---|
| committer | GitHub | 2020-07-21 11:58:22 +0200 |
| commit | b90e0ecc6b0717786ae72236c37157f1b5983521 (patch) | |
| tree | 8b9bdb4aaa8ba6bfdf1baef09df88afa64c8a4f6 /src/tests/disable_function/disabled_functions_ret_simulation.phpt | |
| parent | 043d9897b4d6879f9a91dbd0ccdb476649731f7c (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_ret_simulation.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_functions_ret_simulation.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_functions_ret_simulation.phpt b/src/tests/disable_function/disabled_functions_ret_simulation.phpt index 70691ee..4085215 100644 --- a/src/tests/disable_function/disabled_functions_ret_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_ret_simulation.phpt | |||
| @@ -11,10 +11,10 @@ echo stripos("pouet", "p") . "\n"; | |||
| 11 | strcmp("p", "p") . "\n"; | 11 | strcmp("p", "p") . "\n"; |
| 12 | ?> | 12 | ?> |
| 13 | --EXPECTF-- | 13 | --EXPECTF-- |
| 14 | Warning: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on return of the function 'strpos', because the function returned '0', which matched a rule in %a/disabled_functions_ret_simulation.php on line 2 | 14 | Warning: [snuffleupagus][0.0.0.0][disabled_function][simulation] Aborted execution on return of the function 'strpos', because the function returned '0', which matched a rule in %a/disabled_functions_ret_simulation.php on line 2 |
| 15 | 0 | 15 | 0 |
| 16 | 16 | ||
| 17 | Warning: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on return of the function 'stripos', because the function returned '0', which matched the rule '1' in %a/disabled_functions_ret_simulation.php on line 3 | 17 | Warning: [snuffleupagus][0.0.0.0][disabled_function][simulation] Aborted execution on return of the function 'stripos', because the function returned '0', which matched the rule '1' in %a/disabled_functions_ret_simulation.php on line 3 |
| 18 | 0 | 18 | 0 |
| 19 | 19 | ||
| 20 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on return of the function 'strcmp', because the function returned '0', which matched a rule in %a/disabled_functions_ret_simulation.php on line 4 \ No newline at end of file | 20 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'strcmp', because the function returned '0', which matched a rule in %a/disabled_functions_ret_simulation.php on line 4 \ No newline at end of file |
