Subject: | IO::Compress::Gzip test t/100generic-bzip2.t hangs on Cygwin |
Date: | Tue, 9 Jul 2013 18:50:28 +0000 |
To: | "bug-IO-Compress [...] rt.cpan.org" <bug-IO-Compress [...] rt.cpan.org> |
From: | "Donnelly, Chris R (VAT - Austin)" <chris.donnelly [...] vauto.com> |
Hi,
I found that the t/100generic-bzip2.t test cases hang on Cygwin when building the latest version from CPAN.
System info:
* Cygwin v 1.7.20(0.266/5/3)
* Windows 8 (ver: Microsoft Windows [Version 6.2.9200])
* Perl v5.14.2
Basically the problem is that the FH filehandle on line 304 of t/compress/generic.pl is never closed, and for some reason this caused the script to hang on line 315 (upon exiting not the block containing the open FH, but the block outside that).
I did an initial fix to close FH (patch attached as generic.pl.patch), which worked for me.
However, I realized that wasn't the right place for the close FH, but rather inside the block where it was opened; I am submitting that as attachment generic.pl.realfix.patch. Note I have not tested that one, but it should work.
Please let me know if you need further information.
Thanks,
# Chris
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.