Skip to content

OS X: hClose003

On my HEAD build against OS X 10.6.6 (x86_64), hClose003(threaded2) fails with:

Actual stdout output differs from expected:
--- ./lib/IO/hClose003.stdout.normalised	2011-03-31 06:08:49.000000000 -0400
+++ ./lib/IO/hClose003.run.stdout.normalised	2011-03-31 06:08:49.000000000 -0400
@@ -1,4 +1,4 @@
 Right ()
 False
-Left <file descriptor: X>: hClose: resource vanished (Broken pipe)
+Left <file descriptor: XX>: hClose: resource vanished (Broken pipe)
 False

The offending file descriptor is 10, which the program's output sanitizer is not capable of dealing with. I don't know the significance of the file descriptor number, but if it's inconsequential, then the patch I'm attaching should correctly normalize the digits.

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information