Bug #78282 [Opn->Ver]: atime and mtime mismatch

From: Date: Sat, 13 Jul 2019 07:31:34 +0000
Subject: Bug #78282 [Opn->Ver]: atime and mtime mismatch
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221755@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78282&edit=1 ID: 78282 Updated by: cmb@php.net Reported by: v-altruo at microsoft dot com Summary: atime and mtime mismatch -Status: Open +Status: Verified Type: Bug -Package: Testing related +Package: Scripting Engine problem Operating System: Windows PHP Version: 7.4.0alpha3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Thanks for catching this regression, which has been introduced by improperly fixing bug #78241. Previous Comments: ------------------------------------------------------------------------ [2019-07-12 19:59:05] v-altruo at microsoft dot com Description: ------------ Test fails for both NTS/TS regardless of opcache on/off but only for x86. My machine is x64 if that matters. Failed Test Location: ext\standard\tests\file\touch_basic-win32.phpt Similar test (touch_basic-win32-mb.phpt) also fails with similar output. Expected result: ---------------- *** Testing touch() : basic functionality *** --- testing touch creates a file --- bool(true) --- testing touch doesn't alter file contents --- Here is a test line --- testing touch alters the correct file metadata --- stat data differs at atime stat data differs at mtime --- testing touch using all parameters --- bool(true) ctime=%d mtime=10000 atime=20470 Done Actual result: -------------- *** Testing touch() : basic functionality *** --- testing touch creates a file --- bool(true) --- testing touch doesn't alter file contents --- Here is a test line --- testing touch alters the correct file metadata --- stat data differs at atime stat data differs at mtime --- testing touch using all parameters --- bool(true) ctime=1562961318 mtime=121 atime=2133437241 Done ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78282&edit=1

« previous php.bugs (#221755) next »