diff options
author | foobar <sniper@php.net> | 2005-07-20 00:10:57 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-07-20 00:10:57 +0000 |
commit | dd3d739cc663b18e8c8ee295d80109ce1f207976 (patch) | |
tree | b3f5b795ef0295406183ad7f570b02873820b31d /pear | |
parent | bf75124011de86b6d01c0a888eade9dea8e54cf5 (diff) | |
download | php-git-dd3d739cc663b18e8c8ee295d80109ce1f207976.tar.gz |
fixed skipif to really skip
Diffstat (limited to 'pear')
-rw-r--r-- | pear/tests/pear_dependency_checkExtension.phpt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pear/tests/pear_dependency_checkExtension.phpt b/pear/tests/pear_dependency_checkExtension.phpt index 89666a8337..4992f17864 100644 --- a/pear/tests/pear_dependency_checkExtension.phpt +++ b/pear/tests/pear_dependency_checkExtension.phpt @@ -4,11 +4,15 @@ PEAR_Dependency::checkExtension() test <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + exit; } if (!ini_get('enable_dl') || ini_get('safe_mode')) { echo 'skip'; + exit; } +require_once 'System.php'; + $dir = ini_get('extension_dir'); if (OS_WINDOWS) { $suffix = '.dll'; @@ -50,6 +54,7 @@ foreach ($extensions as $ext) { } if (!$notloaded || !$loaded) { echo 'skip'; + exit; } ?> --FILE-- |