[darcs-users] Failing tests on win32 (buildslave).

Eric Kow kowey at darcs.net
Mon Mar 9 10:46:43 UTC 2009


Dear Windows darcs users,

Does anybody else experience these symptoms of the darcs test suite
failing with DeleteFile: permission denied errors?

If so, could you try Salvatore's proposed check?

Thanks!

On Thu, Feb 19, 2009 at 15:39:41 +0100, Salvatore Insalaco wrote:
> On Fri, Feb 13, 2009 at 3:59 PM, Petr Rockai <me at mornfall.net> wrote:
> > darcs check
> > The repository is consistent!
> > darcs.exe: DeleteFile: permission denied (The process cannot access the file because it is being used by another process.)
> 
> Hi Petr,
> I tried to reproduce that issue, but with no success, with the last
> darcs trunk version on Windows.
> 
> I think that this is not a darcs bug, but a Windows bug on file
> management. We found in some scripts that if you do a file operation
> that gets cached by the OS, and then right after you try to delete
> that file, the deletion fails.
> 
> There's a quick way to tell if that is the issue: just add a "sleep"
> of 1 second on the test execution before darcs check. If it fixes the
> issue, that's it :).

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090309/68c938cb/attachment.pgp>


More information about the darcs-users mailing list