diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/tests/file/touch_basic-win32.phpt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ext/standard/tests/file/touch_basic-win32.phpt b/ext/standard/tests/file/touch_basic-win32.phpt index 3bd22aeeae..0e4cc3142e 100644 --- a/ext/standard/tests/file/touch_basic-win32.phpt +++ b/ext/standard/tests/file/touch_basic-win32.phpt @@ -1,7 +1,5 @@ --TEST-- Test touch() function : basic functionality ---CREDITS-- -Dave Kelsey <d_kelsey@uk.ibm.com> --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) != 'WIN') { @@ -16,6 +14,12 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { * Alias to functions: */ + /* + * NOTE: Windows UTime functionality is influenced by DST so outputs + * different values during DST. This is WAD according to Microsoft. The test has been + * modified to reflect this in the expected output + */ + echo "*** Testing touch() : basic functionality ***\n"; $filename = dirname(__FILE__)."/touch.dat"; @@ -90,6 +94,6 @@ stat data differs at mtime --- testing touch using all parameters --- bool(true) ctime=%d -mtime=10000 -atime=20470 +mtime=%r10000|6400%r +atime=%r20470|16870%r Done |