cvs: pear-core /tests/PEAR_Config test_getFTP.phpt test_readFTPConfigFile.phpt test_readFTPConfigFile_fail.phpt

From: Date: Wed, 22 Feb 2006 21:14:15 +0000
Subject: cvs: pear-core /tests/PEAR_Config test_getFTP.phpt test_readFTPConfigFile.phpt test_readFTPConfigFile_fail.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-38502@lists.php.net to get a copy of this message
cellog Wed Feb 22 21:14:15 2006 UTC Modified files: /pear-core/tests/PEAR_Config test_getFTP.phpt test_readFTPConfigFile.phpt test_readFTPConfigFile_fail.phpt Log: fix tests http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Config/test_getFTP.phpt?r1=1.7&r2=1.8&diff_format=u Index: pear-core/tests/PEAR_Config/test_getFTP.phpt diff -u pear-core/tests/PEAR_Config/test_getFTP.phpt:1.7 pear-core/tests/PEAR_Config/test_getFTP.phpt:1.8 --- pear-core/tests/PEAR_Config/test_getFTP.phpt:1.7 Fri Feb 3 04:44:26 2006 +++ pear-core/tests/PEAR_Config/test_getFTP.phpt Wed Feb 22 21:14:15 2006 @@ -18,7 +18,7 @@ error_reporting(E_ALL); require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; require_once 'PEAR/ChannelFile.php'; -require_once 'PEAR/Command/Remoteinstall-init.php'; +define('PEAR_REMOTEINSTALL_OK', 1); ini_set('include_path', '####'); $config = new PEAR_Config($temp_path . DIRECTORY_SEPARATOR . 'pear.ini', $temp_path . DIRECTORY_SEPARATOR . 'pear.ini', 'ftp://example.com/config.ini'); $phpunit->assertErrors(array( http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Config/test_readFTPConfigFile.phpt?r1=1.7&r2=1.8&diff_format=u Index: pear-core/tests/PEAR_Config/test_readFTPConfigFile.phpt diff -u pear-core/tests/PEAR_Config/test_readFTPConfigFile.phpt:1.7 pear-core/tests/PEAR_Config/test_readFTPConfigFile.phpt:1.8 --- pear-core/tests/PEAR_Config/test_readFTPConfigFile.phpt:1.7 Fri Feb 3 04:44:26 2006 +++ pear-core/tests/PEAR_Config/test_readFTPConfigFile.phpt Wed Feb 22 21:14:15 2006 @@ -17,7 +17,6 @@ <?php error_reporting(E_ALL); require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; -require_once 'PEAR/Command/Remoteinstall-init.php'; $config = &new PEAR_Config($temp_path . DIRECTORY_SEPARATOR . 'pear.ini', $temp_path . DIRECTORY_SEPARATOR . 'nofile'); include_once dirname(__FILE__) . '/test_readFTPConfigFile/FTP.php.inc'; http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Config/test_readFTPConfigFile_fail.phpt?r1=1.8&r2=1.9&diff_format=u Index: pear-core/tests/PEAR_Config/test_readFTPConfigFile_fail.phpt diff -u pear-core/tests/PEAR_Config/test_readFTPConfigFile_fail.phpt:1.8 pear-core/tests/PEAR_Config/test_readFTPConfigFile_fail.phpt:1.9 --- pear-core/tests/PEAR_Config/test_readFTPConfigFile_fail.phpt:1.8 Fri Feb 3 04:44:26 2006 +++ pear-core/tests/PEAR_Config/test_readFTPConfigFile_fail.phpt Wed Feb 22 21:14:15 2006 @@ -17,7 +17,6 @@ <?php error_reporting(E_ALL); require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; -require_once 'PEAR/Command/Remoteinstall-init.php'; $config = &new PEAR_Config($temp_path . DIRECTORY_SEPARATOR . 'pear.ini', $temp_path . DIRECTORY_SEPARATOR . 'nofile'); ini_set('include_path', './#####');

« previous php.pear.cvs (#38502) next »