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_cidr.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_cidr.phpt')
| -rw-r--r-- | src/tests/disabled_functions_cidr.phpt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/disabled_functions_cidr.phpt b/src/tests/disabled_functions_cidr.phpt index 5b13107..ed59fb7 100644 --- a/src/tests/disabled_functions_cidr.phpt +++ b/src/tests/disabled_functions_cidr.phpt | |||
| @@ -11,8 +11,6 @@ sp.configuration_file={PWD}/config/disabled_functions_cidr.ini | |||
| 11 | --FILE-- | 11 | --FILE-- |
| 12 | <?php | 12 | <?php |
| 13 | system("echo 42"); | 13 | system("echo 42"); |
| 14 | printf("1337"); | ||
| 15 | ?> | 14 | ?> |
| 16 | --EXPECTF-- | 15 | --EXPECTF-- |
| 17 | [snuffleupagus][127.0.0.1][disabled_function][drop] The call to the function 'system' in %a/tests/disabled_functions_cidr.php:2 has been disabled. | 16 | [snuffleupagus][127.0.0.1][disabled_function][drop] The call to the function 'system' in %a/tests/disabled_functions_cidr.php:2 has been disabled. |
| 18 | 1337 | ||
