[Hackage] #843: 'cabal test' crashes on Windows

#843: 'cabal test' crashes on Windows ----------------------------+----------------------------------------------- Reporter: ttuegel | Owner: ttuegel Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Windows | ----------------------------+----------------------------------------------- Cabal crashes with the following error on Windows Vista and 7 (I have not tried XP): {{{ Running 1 test suites... Test suite tests: RUNNING... Test suite tests: PASS Test suite logged to: dist\test\foo-0.1-tests.log cabal: permission denied }}} The "permission denied" error appears to be from an attempt to delete a temporary file while it is still open. This does not appear to cause problems on Unix, but Windows won't allow it. I believe it is due to the fact that the temporary log file is read lazily, so it doesn't get closed before the file is deleted. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/843 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#843: 'cabal test' crashes on Windows
----------------------------+-----------------------------------------------
Reporter: ttuegel | Owner: ttuegel
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: 1.10.1.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: unknown
Ghcversion: | Platform: Windows
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Applied.
{{{
Wed May 18 04:04:22 BST 2011 Thomas Tuegel

#843: 'cabal test' crashes on Windows ----------------------------+----------------------------------------------- Reporter: ttuegel | Owner: ttuegel Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: Windows ----------------------------+----------------------------------------------- Comment(by elga): * [http://www.releve-identite-operateur.fr/rio-simyo.html simyo] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/843#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage