pajoye          Tue Jul  7 21:50:39 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard/tests/file    touch_variation5-win32.phpt 
                                        touch_variation6-win32.phpt 
  Log:
  - fix tests, 5.3 supports these things now on windows. Also shorter tests 
would be REALLY nice (or use iteration numbering)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/touch_variation5-win32.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/file/touch_variation5-win32.phpt
diff -u php-src/ext/standard/tests/file/touch_variation5-win32.phpt:1.1.4.2 
php-src/ext/standard/tests/file/touch_variation5-win32.phpt:1.1.4.3
--- php-src/ext/standard/tests/file/touch_variation5-win32.phpt:1.1.4.2 Wed Nov 
26 10:10:18 2008
+++ php-src/ext/standard/tests/file/touch_variation5-win32.phpt Tue Jul  7 
21:50:38 2009
@@ -206,44 +206,24 @@
 
 *** testing existing directories ***
 --- testing touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp/aSubDirOrFile - access time not changed
+PASSED: touchVar5.tmp/aSubDirOrFile - touched
 --- testing ./touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: ./touchVar5.tmp/aSubDirOrFile - access time not changed
+PASSED: ./touchVar5.tmp/aSubDirOrFile - touched
 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - access time not changed
+PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched
 --- testing %s/touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s/touchVar5.tmp/aSubDirOrFile - access time not changed
+PASSED: %s/touchVar5.tmp/aSubDirOrFile - touched
 --- testing %s/./touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s/./touchVar5.tmp/aSubDirOrFile - access time not changed
+PASSED: %s/./touchVar5.tmp/aSubDirOrFile - touched
 --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - access time not 
changed
+PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched
 --- testing touchVar5.tmp/aSubDirOrFile/ ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp/aSubDirOrFile/ - access time not changed
+PASSED: touchVar5.tmp/aSubDirOrFile/ - touched
 --- testing %s/touchVar5.tmp/aSubDirOrFile/ ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s/touchVar5.tmp/aSubDirOrFile/ - access time not changed
+PASSED: %s/touchVar5.tmp/aSubDirOrFile/ - touched
 --- testing touchVar5.tmp//aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp//aSubDirOrFile - access time not changed
+PASSED: touchVar5.tmp//aSubDirOrFile - touched
 --- testing %s//touchVar5.tmp//aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s//touchVar5.tmp//aSubDirOrFile - access time not changed
+PASSED: %s//touchVar5.tmp//aSubDirOrFile - touched
 ===DONE===
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/touch_variation6-win32.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/file/touch_variation6-win32.phpt
diff -u php-src/ext/standard/tests/file/touch_variation6-win32.phpt:1.1.4.2 
php-src/ext/standard/tests/file/touch_variation6-win32.phpt:1.1.4.3
--- php-src/ext/standard/tests/file/touch_variation6-win32.phpt:1.1.4.2 Wed Nov 
26 10:10:17 2008
+++ php-src/ext/standard/tests/file/touch_variation6-win32.phpt Tue Jul  7 
21:50:38 2009
@@ -216,48 +216,26 @@
 
 *** testing existing directories ***
 --- testing touchVar5.tmp\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp\aSubDirOrFile - access time not changed
+PASSED: touchVar5.tmp\aSubDirOrFile - touched
 --- testing .\touchVar5.tmp\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: .\touchVar5.tmp\aSubDirOrFile - access time not changed
+PASSED: .\touchVar5.tmp\aSubDirOrFile - touched
 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - access time not changed
+PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched
 --- testing %s\touchVar5.tmp\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s\touchVar5.tmp\aSubDirOrFile - access time not changed
+PASSED: %s\touchVar5.tmp\aSubDirOrFile - touched
 --- testing %s\.\touchVar5.tmp\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s\.\touchVar5.tmp\aSubDirOrFile - access time not changed
+PASSED: %s\.\touchVar5.tmp\aSubDirOrFile - touched
 --- testing %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - access time not 
changed
+PASSED: %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched
 --- testing touchVar5.tmp\aSubDirOrFile\ ---
-
-Warning: touch(): Utime failed: No such file or directory in %s on line %d
-FAILED: touchVar5.tmp\aSubDirOrFile\ - access time not changed
+PASSED: touchVar5.tmp\aSubDirOrFile\ - touched
 --- testing %s\touchVar5.tmp\aSubDirOrFile\ ---
-
-Warning: touch(): Utime failed: No such file or directory in %s on line %d
-FAILED: %s\touchVar5.tmp\aSubDirOrFile\ - access time not changed
+PASSED: %s\touchVar5.tmp\aSubDirOrFile\ - touched
 --- testing touchVar5.tmp\\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: touchVar5.tmp\\aSubDirOrFile - access time not changed
+PASSED: touchVar5.tmp\\aSubDirOrFile - touched
 --- testing %s\\touchVar5.tmp\\aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: %s\\touchVar5.tmp\\aSubDirOrFile - access time not changed
+PASSED: %s\\touchVar5.tmp\\aSubDirOrFile - touched
 --- testing /%s/touchVar5.tmp/aSubDirOrFile ---
-
-Warning: touch(): Utime failed: Permission denied in %s on line %d
-FAILED: /%s/touchVar5.tmp/aSubDirOrFile - access time not changed
+PASSED: /%s/touchVar5.tmp/aSubDirOrFile - touched
 ===DONE===
 



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

Reply via email to