cvs: pear-core /tests/PEAR_Installer test_uninstall_simplelocalpackage_ftp.phpt

From: Date: Mon, 22 Aug 2005 02:16:47 +0000
Subject: cvs: pear-core /tests/PEAR_Installer test_uninstall_simplelocalpackage_ftp.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3698@lists.php.net to get a copy of this message
cellog Sun Aug 21 22:16:47 2005 EDT Modified files: /pear-core/tests/PEAR_Installer test_uninstall_simplelocalpackage_ftp.phpt Log: fix test to use PEAR_RemoteInstall if available http://cvs.php.net/diff.php/pear-core/tests/PEAR_Installer/test_uninstall_simplelocalpackage_ftp.phpt?r1=1.3&r2=1.4&ty=u Index: pear-core/tests/PEAR_Installer/test_uninstall_simplelocalpackage_ftp.phpt diff -u pear-core/tests/PEAR_Installer/test_uninstall_simplelocalpackage_ftp.phpt:1.3 pear-core/tests/PEAR_Installer/test_uninstall_simplelocalpackage_ftp.phpt:1.4 --- pear-core/tests/PEAR_Installer/test_uninstall_simplelocalpackage_ftp.phpt:1.3 Sat Feb 19 23:26:19 2005 +++ pear-core/tests/PEAR_Installer/test_uninstall_simplelocalpackage_ftp.phpt Sun Aug 21 22:16:44 2005 @@ -5,6 +5,9 @@ if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; } +if (!(include_once 'Net/FTP.php') || !(include_once 'PEAR/FTP.php')) { + die('skip requires PEAR_RemoteInstall to work'); +} ?> --FILE-- <?php @@ -19,6 +22,7 @@ } require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; include_once dirname(__FILE__) . '/ftp_test_files/FTP.php.inc'; +$installer = &new test_PEAR_RemoteInstaller($fakelog); $ftp = &Net_FTP::singleton(); $ftp->addRemoteFile('remote.ini', dirname(__FILE__) . DIRECTORY_SEPARATOR . 'ftp_test_files' . DIRECTORY_SEPARATOR . 'remote.ini');

« previous php.pear.core (#3698) next »