Re: stat-time tests fix for Windows

2017-05-14 Thread Bruno Haible
Paul Eggert wrote: > This misfeature is by design. It's called "file system tunneling". See, for > example: > > http://dfstream.blogspot.com/2012/02/file-system-tunneling-in-windows.html Thanks. It's worth extending the comment: 2017-05-14 Bruno Haible stat-time tests: Improve comm

Re: stat-time tests fix for Windows

2017-05-14 Thread Paul Eggert
Bruno Haible wrote: Strangely enough, when you create a file, delete it, create it again (with the same name), then the st_ctime field will contain the time of the first creation. This misfeature is by design. It's called "file system tunneling". See, for example: http://dfstream.blogspot.com

stat-time tests fix for Windows

2017-05-14 Thread Bruno Haible
On native Windows, the 'test-stat-time' test works fine the first time I run it, but fails in subsequent runs in the same build directory. Strangely enough, when you create a file, delete it, create it again (with the same name), then the st_ctime field will contain the time of the first creation.