cvs: pear /Net_FTP/tests Net_FTPTest.php
[email protected] ("Jorrit Schippers")
| Newsgroups | php.pear.cvs |
|---|---|
| Message-ID | <cvsjschippers1208896362@cvsserver> |
jschippers Tue Apr 22 20:32:42 2008 UTC
Modified files:
/pear/Net_FTP/tests Net_FTPTest.php
Log:
added test for bug #13496
http://cvs.php.net/viewvc.cgi/pear/Net_FTP/tests/Net_FTPTest.php?r1=1.12&r2=1.13&diff_format=u
Index: pear/Net_FTP/tests/Net_FTPTest.php
diff -u pear/Net_FTP/tests/Net_FTPTest.php:1.12 pear/Net_FTP/tests/Net_FTPTest.php:1.13
--- pear/Net_FTP/tests/Net_FTPTest.php:1.12 Mon Jan 7 14:23:00 2008
+++ pear/Net_FTP/tests/Net_FTPTest.php Tue Apr 22 20:32:41 2008
@@ -26,7 +26,7 @@
* @author Tobias Schlitt <[email protected]>
* @copyright 1997-2008 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License 3.0
- * @version CVS: $Id: Net_FTPTest.php,v 1.12 2008/01/07 14:23:00 jschippers Exp $
+ * @version CVS: $Id: Net_FTPTest.php,v 1.13 2008/04/22 20:32:41 jschippers Exp $
* @link http://pear.php.net/package/Net_FTP
* @link http://www.phpunit.de PHPUnit
* @since File available since Release 1.3.3
@@ -430,12 +430,12 @@
}
/**
- * Tests changes made to fix bug #9611
+ * Tests _determineOSMatch
*
- * @link http://pear.php.net/bugs/bug.php?id=9611
* @return void
+ * @see Net_FTP::_determineOSMatch()
*/
- public function testBug9611()
+ public function testDetermineOSMatch()
{
if ($this->ftp == null) {
$this->fail('This test requires a working FTP connection. Setup '.
@@ -443,7 +443,7 @@
$this->setupError.')');
}
$dirlist = array(
- 'drwxr-xr-x 75 upload (?) 3008 Oct 30 21:09 ftp1'
+ 'drwxrwsr-x 75 upload (?) 3008 Oct 30 21:09 ftp1',
);
$res = $this->ftp->_determineOSMatch($dirlist);