diff options
Diffstat (limited to 'ext/pcntl/tests/pcntl_exec.phpt')
| -rw-r--r-- | ext/pcntl/tests/pcntl_exec.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pcntl/tests/pcntl_exec.phpt b/ext/pcntl/tests/pcntl_exec.phpt index 756fc959c3..9d2ec1dcf5 100644 --- a/ext/pcntl/tests/pcntl_exec.phpt +++ b/ext/pcntl/tests/pcntl_exec.phpt @@ -1,7 +1,10 @@ --TEST-- pcntl_exec() --SKIPIF-- -<?php if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST_PHP_EXECUTABLE not set"); ?> +<?php +if (!extension_loaded("pcntl")) print "skip"; +if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST_PHP_EXECUTABLE not set"); +?> --FILE-- <?php echo "ok\n"; |
