diff options
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/disabled_functions.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disabled_functions.phpt b/src/tests/disabled_functions.phpt index 48d3724..6e57dba 100644 --- a/src/tests/disabled_functions.phpt +++ b/src/tests/disabled_functions.phpt | |||
| @@ -6,6 +6,7 @@ Disable functions | |||
| 6 | sp.configuration_file={PWD}/config/disabled_functions.ini | 6 | sp.configuration_file={PWD}/config/disabled_functions.ini |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php | 8 | <?php |
| 9 | strcmp("1", "2"); | ||
| 9 | system("id"); | 10 | system("id"); |
| 10 | printf("printf in simulation mode\n"); | 11 | printf("printf in simulation mode\n"); |
| 11 | print("print in disabled mode\n"); | 12 | print("print in disabled mode\n"); |
| @@ -13,4 +14,4 @@ var_dump("this is a super test"); | |||
| 13 | echo strpos("pouet", "o"); | 14 | echo strpos("pouet", "o"); |
| 14 | ?> | 15 | ?> |
| 15 | --EXPECTF-- | 16 | --EXPECTF-- |
| 16 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'system' in %a/disabled_functions.php on line 2 \ No newline at end of file | 17 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'system' in %a/disabled_functions.php on line %d |
