Skip Menu |

This queue is for tickets about the Graph-ReadWrite CPAN distribution.

Report information
The Basics
Id: 56642
Status: resolved
Priority: 0/
Queue: Graph-ReadWrite

People
Owner: Nobody in particular
Requestors: philip.g.potter [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.00
Fixed in: 2.02



Subject: t/simple.t fails all tests on Win32
Graph-ReadWrite fails all tests for me on WinXP. Going into the CPAN build directory, I found that if I converted t\data\simple.* to windows line endings (CRLF) rather than unix line endings, the tests all pass. I guess that the generated files are being generated with windows line endings but the testcases use unix line endings and so fail. I'm running WinXP with strawberry perl.
From: max [...] mail.at
Am Do 15. Apr 2010, 17:07:45, pgp schrieb: Show quoted text
> Graph-ReadWrite fails all tests for me on WinXP.
I can confirm this is due to CRLF vs. LF endings. It can be fixed in the tests by changing all occurances of compare($genfile, $expected) to compare($genfile, $expected, -1) in the files t/simple.t and t/reader.t. Max