]> granicus.if.org Git - php/commitdiff
- fix test when part of the path is a symlink
authorPierre Joye <pajoye@php.net>
Tue, 25 Aug 2009 00:22:11 +0000 (00:22 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 25 Aug 2009 00:22:11 +0000 (00:22 +0000)
ext/standard/tests/file/realpath_basic2.phpt

index b71feb98b91ac368ca2cdd22d586492d174a6a67..87fc8baaa43a28df7071f719beede9365509ace2 100644 (file)
@@ -3,9 +3,9 @@ realpath() with relative directory
 --FILE--
 <?php
 
-var_dump(realpath('.') == getcwd());
+var_dump(realpath('.') == realpath(getcwd()));
 chdir('..');
-var_dump(realpath('.') == getcwd());
+var_dump(realpath('.') == realpath(getcwd()));
 
 ?>
 --EXPECT--