From: Pierre Joye Date: Tue, 7 Jul 2009 21:50:38 +0000 (+0000) Subject: - fix tests, 5.3 supports these things now on windows. Also shorter tests would be... X-Git-Tag: php-5.3.1RC1~426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18174e18c9c243f12a40d808e8895ec42f73f37f;p=php - fix tests, 5.3 supports these things now on windows. Also shorter tests would be REALLY nice (or use iteration numbering) --- diff --git a/ext/standard/tests/file/touch_variation5-win32.phpt b/ext/standard/tests/file/touch_variation5-win32.phpt index 6b7bde4c4a..079093b1cc 100644 --- a/ext/standard/tests/file/touch_variation5-win32.phpt +++ b/ext/standard/tests/file/touch_variation5-win32.phpt @@ -206,44 +206,24 @@ PASSED: %s//touchVar5.tmp//aSubDirOrFile - touched *** 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=== diff --git a/ext/standard/tests/file/touch_variation6-win32.phpt b/ext/standard/tests/file/touch_variation6-win32.phpt index 8c87d49048..57433869c2 100644 --- a/ext/standard/tests/file/touch_variation6-win32.phpt +++ b/ext/standard/tests/file/touch_variation6-win32.phpt @@ -216,48 +216,26 @@ PASSED: /%s/touchVar5.tmp/aSubDirOrFile - touched *** 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===