Ticket #843 (closed defect: fixed)
'cabal test' crashes on Windows
| Reported by: | ttuegel | Owned by: | ttuegel |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.10.1.0 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: | Windows |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

