pajoye          Wed May 21 18:56:05 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard/tests/file    001-win32.phpt 
  Log:
  - fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/001-win32.phpt?r1=1.2&r2=1.2.8.1&diff_format=u
Index: php-src/ext/standard/tests/file/001-win32.phpt
diff -u php-src/ext/standard/tests/file/001-win32.phpt:1.2 
php-src/ext/standard/tests/file/001-win32.phpt:1.2.8.1
--- php-src/ext/standard/tests/file/001-win32.phpt:1.2  Wed May 19 08:54:51 2004
+++ php-src/ext/standard/tests/file/001-win32.phpt      Wed May 21 18:56:05 2008
@@ -52,7 +52,7 @@
     }
 }
 echo "test.file is " . filetype('test.file') . "\n";
-echo "test.link is " . filetype('test.link') . "\n";
+echo "test.link is <" . filetype('test.link') . ">\n";
 printf ("test.file permissions are 0%o\n", 0777 & fileperms('test.file'));
 echo "test.file size is " . filesize('test.file') . "\n";
 if (is_writeable('test.file')) {
@@ -103,7 +103,7 @@
     echo "test.file does not exist\n";
 }
 ?>
---EXPECT--
+--EXPECTF--
 test.file does not exist
 test.file exists
 test.link does not exist
@@ -111,7 +111,9 @@
 test.link is not a symlink
 test.file exists
 test.file is file
-test.link is file
+
+Warning: filetype(): Lstat failed for test.link in %s
+test.link is <>
 test.file permissions are 0666
 test.file size is 0
 test.file is writeable



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to