[darcs-devel] [issue1223] sporadic init.sh test failure (2.1.1rc2+472)

Eric Kow bugs at darcs.net
Tue Nov 11 20:45:40 UTC 2008


New submission from Eric Kow <kowey at darcs.net>:

echo init.sh > tests/tests_to_run
make -j3 test

sometimes it fails, sometimes it succeeds... why?

Context:

[Use conditional compilation for Salvatore's strict readFile fix
Eric Kow <kowey at darcs.net>**20081111145114
 Ignore-this: bf4e3159d1bdd2cadbb7b007c64f5e6d
] 

[Fix gzReadFilePS to close file descriptor even on old bytestrings.
Salvatore Insalaco <kirby81 at gmail.com>**20081108084939
 BL.readFile is not strict enough, and it actually leaves the file descriptor
opened. This should not happen, and probably it's a bug with older bytestrings
(the one shipped with ghc 6.8.x).
 This causes issues on Windows, where an opened file cannot be deleted.
 Using strict bytestring readFile, and then converting them to lazy bytestring
(should be O(1)) fix the problem.
] 

[Add configure check for bytestring 0.9.1
Eric Kow <kowey at darcs.net>**20081111115319
 Ignore-this: f25fef6236879a1a2ad0ab44e337faee
 This introduces a HAVE_OLD_BYTESTRING flag
]

----------
messages: 6655
nosy: dagit, dmitry.kurochkin, kowey, simon, thorkilnaur
priority: bug
status: unread
title: sporadic init.sh test failure (2.1.1rc2+472)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1223>
__________________________________


More information about the darcs-devel mailing list