diff options
| author | Ben Fuhrmannek | 2022-01-11 15:53:59 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2022-01-11 15:53:59 +0100 |
| commit | 2f6eabb4b3b8e8477fa2c606890bf6cdd12bfdd7 (patch) | |
| tree | 145cf8bb9db04a413a14f275baf405867c769188 | |
| parent | c9430a45205f3a94fe46c7fd4f5fd3a6ab5202f4 (diff) | |
skip test if pcntl is missing
| -rw-r--r-- | src/tests/disable_function/disabled_functions_shell_exec_signal.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/disable_function/disabled_functions_shell_exec_signal.phpt b/src/tests/disable_function/disabled_functions_shell_exec_signal.phpt index f99b423..c0b5103 100644 --- a/src/tests/disable_function/disabled_functions_shell_exec_signal.phpt +++ b/src/tests/disable_function/disabled_functions_shell_exec_signal.phpt | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | Disable functions - shell_exec via signal handler | 2 | Disable functions - shell_exec via signal handler |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | <?php if (!extension_loaded("pcntl")) print "skip"; ?> | ||
| 5 | <?php if (PHP_VERSION_ID < 70100) print "skip"; ?> | 6 | <?php if (PHP_VERSION_ID < 70100) print "skip"; ?> |
| 6 | --EXTENSIONS-- | 7 | --EXTENSIONS-- |
| 7 | pcntl | 8 | pcntl |
