Re: stat-time test on mingw

2008-04-27 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > The stat-time test fails for three reasons on mingw: ... > 2008-04-27 Bruno Haible <[EMAIL PROTECTED]> > > * modules/stat-time-tests (Depends-on): Add sleep. > * tests/test-stat-time.c (force_unlink): New function. > (cleanup): Use it. >

stat-time test on mingw

2008-04-27 Thread Bruno Haible
Hi Jim, The stat-time test fails for three reasons on mingw: 1) It uses the function sleep(), which does not exist. Fix: Simply use the 'sleep' module. 2) When run for the second time, opening the test files (t-stt-stamp1 etc.) fails, because these files were not cleaned up by the previous