Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-MIME CPAN distribution.

Report information
The Basics
Id: 78398
Status: resolved
Priority: 0/
Queue: Email-MIME

People
Owner: Nobody in particular
Requestors: MICHIELB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.910
Fixed in: (no value)



Subject: t/singlepart.t fails on win32
I found out the t/singlepart.t test fails on Win32/Perl 5.12; I think because of line endings in the heredoc in the test itself? t/singlepart.t .... 1/? # Failed test 'as_string matches' # at t/singlepart.t line 43. # got: 'From: me # To: you # Subject: test # MIME-Version: 1.0 # Content-Transfer-Encoding: base64 # # ClRoaXMgaXMgbXkgc2luZ2xlcGFydCBtZXNzYWdlLgpJdCdzIGJhc2U2NCBlbmNvZGVkLgo= # ' # expected: 'From: me # To: you # Subject: test # MIME-Version: 1.0 # Content-Transfer-Encoding: base64 # # ClRoaXMgaXMgbXkgc2luZ2xlcGFydCBtZXNzYWdlLgpJdCdzIGJhc2U2NCBlbmNvZGVkLgo= # ' # Looks like you failed 1 test of 4. t/singlepart.t .... Dubious, test returned 1 (wstat 256, 0x100)
I've got same test fail on Debian/Wheezy.
Pull request which fixes the test (for me) https://github.com/rjbs/email-mime/pull/3
This test is also failing on ubuntu 12.04. I used $Data::Dumper::Useqq to find the differences: $VAR1 = [ "From: me\r\nTo: you\r\nSubject: test\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: base64\r\n\r\nClRoaXMgaXMgbXkgc2luZ2xlcGFydCBtZXNzYWdlLgpJdCdzIGJhc2U2NCB lbmNvZGVkLgo=\r\n", "From: me\nTo: you\nSubject: test\nMIME-Version: 1.0\nContent- Transfer-Encoding: base64\n\nClRoaXMgaXMgbXkgc2luZ2xlcGFydCBtZXNzYWdlLgpJdCdzIGJhc2U2NCBlbmN vZGVkLgo=\r\n" ];
The fixed for this was merged some time ago. -- rjbs