cvs: php-src /pear/tests pear_dependency_checkExtension.phpt
| From: | Jani Taskinen | Date: | Wed, 20 Jul 2005 00:11:00 +0000 |
| Subject: | cvs: php-src /pear/tests pear_dependency_checkExtension.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32998@lists.php.net to get a copy of this message | ||
sniper Tue Jul 19 20:11:00 2005 EDT
Modified files:
/php-src/pear/tests pear_dependency_checkExtension.phpt
Log:
fixed skipif to really skip
http://cvs.php.net/diff.php/php-src/pear/tests/pear_dependency_checkExtension.phpt?r1=1.3&r2=1.4&ty=u
Index: php-src/pear/tests/pear_dependency_checkExtension.phpt
diff -u php-src/pear/tests/pear_dependency_checkExtension.phpt:1.3
php-src/pear/tests/pear_dependency_checkExtension.phpt:1.4
--- php-src/pear/tests/pear_dependency_checkExtension.phpt:1.3 Wed May 19 04:45:23 2004
+++ php-src/pear/tests/pear_dependency_checkExtension.phpt Tue Jul 19 20:10:57 2005
@@ -4,11 +4,15 @@
<?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 @@
}
if (!$notloaded || !$loaded) {
echo 'skip';
+ exit;
}
?>
--FILE--