diff options
| author | jvoisin | 2018-10-06 23:15:50 +0200 |
|---|---|---|
| committer | jvoisin | 2018-10-06 23:15:50 +0200 |
| commit | 41f5fe02575611ac43848a3a95f337e57960d492 (patch) | |
| tree | ecc5270734280063e20e66876eef89e09ca5b362 /src/tests | |
| parent | 2d615f1fac1a78012c0cce2e4e9f87c8e6df05b6 (diff) | |
Bump coverage again
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 |
