svn: /pear/packages/File/trunk/tests/Util/ relativePath.phpt
| From: | Helgi Þormar Þorbjörnsson | Date: | Tue, 15 Mar 2011 02:31:14 +0000 |
| Subject: | svn: /pear/packages/File/trunk/tests/Util/ relativePath.phpt | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-61443@lists.php.net to get a copy of this message | ||
dufuz Tue, 15 Mar 2011 02:31:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309246
Log:
Fixed Bug #12741 Failed to test on Linux and FreeBSD
Bug: http://pear.php.net/bugs/12741 (unknown)
Changed paths:
U pear/packages/File/trunk/tests/Util/relativePath.phpt
Modified: pear/packages/File/trunk/tests/Util/relativePath.phpt
===================================================================
--- pear/packages/File/trunk/tests/Util/relativePath.phpt 2011-03-15 02:02:41 UTC (rev 309245)
+++ pear/packages/File/trunk/tests/Util/relativePath.phpt 2011-03-15 02:31:14 UTC (rev 309246)
@@ -14,13 +14,11 @@
echo File_Util::relativePath('/usr/share/pear/tests/File', '/usr/share/pear',
'/') . "\n";
echo File_Util::relativePath('/etc', '/usr', '/') . "\n";
-echo File_Util::relativePath('D:\\Data', 'C:\\Data', '\\') .
"\n";
echo File_Util::relativePath('data', 'data/dir', '/') .
"\n";
echo File_Util::relativePath('/var/data/dir', '/var');
?>
--EXPECT--
tests/File
../etc
-D:\\Data
../
data/dir
\ No newline at end of file