Skip Menu |

This queue is for tickets about the Mail-MboxParser CPAN distribution.

Report information
The Basics
Id: 66576
Status: open
Priority: 0/
Queue: Mail-MboxParser

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



From: CARNIL [...] cpan.org
Subject: libmail-mboxparser-perl: failing tests in unstable
Hi! This bug has been forwarded from http://bugs.debian.org/615545 Mail-MboxParser fails to build (failing tests) with newer MIME-Tools. Show quoted text
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/0_pod.t ............... ok > t/0_pod_coverage.t ...... ok > # Failed test 1 in t/10_qpnames.t at line 14 > # t/10_qpnames.t line 14 is: skip(&Mail::MboxParser::Mail::HAVE_MIMEWORDS ? 0 : "Mime::Words not installed", > t/10_qpnames.t .......... > Failed 1/1 subtests > t/1_mmb.t ............... ok > t/2_for.t ............... ok > t/3_while.t ............. ok > t/4_index.t ............. ok > t/5_body.t .............. ok > t/6_autoload.t .......... ok > t/7_attach.t ............ ok > t/8_from_trace.t ........ ok > t/9_direct_invok.t ...... ok > t/old_1_mmb.t ........... ok > t/old_2_for.t ........... ok > t/old_3_while.t ......... ok > t/old_4_index.t ......... ok > t/old_5_body.t .......... ok > t/old_6_autoload.t ...... ok > t/old_7_attach.t ........ ok > t/old_8_from_trace.t .... ok > t/old_9_direct_invok.t .. ok > > Test Summary Report > ------------------- > t/10_qpnames.t (Wstat: 0 Tests: 1 Failed: 1) > Failed test: 1 > Files=21, Tests=299, 2 wallclock secs ( 0.10 usr 0.02 sys + 2.12 cusr 0.16 csys = 2.40 CPU) > Result: FAIL > Failed 1/21 test programs. 1/299 subtests failed. > make[1]: *** [test_dynamic] Error 255
It shows up on cpan testers to now. Bests Salvatore
From: ppisar [...] redhat.com
Dne So 12.bře.2011 11:45:56, CARNIL napsal(a): Show quoted text
> > Mail-MboxParser fails to build (failing tests) with newer MIME-Tools. >
> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> > t/0_pod.t ............... ok > > t/0_pod_coverage.t ...... ok > > # Failed test 1 in t/10_qpnames.t at line 14 > > # t/10_qpnames.t line 14 is:
> skip(&Mail::MboxParser::Mail::HAVE_MIMEWORDS ? 0 : "Mime::Words not > installed",
> > t/10_qpnames.t .......... > > Failed 1/1 subtests
This is because attachment name in t/10_qpnames.t is not valid UTF-8 and thus does not match text stored in the mbox. Attached patch fixes it.
Subject: perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch
From 122efb9b43fe3b918190f1e72a8055240571d58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Thu, 23 Jun 2011 09:13:12 +0200 Subject: [PATCH] Fix garbled attachment name (RT#66576) --- t/10_qpnames.t | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/t/10_qpnames.t b/t/10_qpnames.t index 7c9b42c..4db5af6 100755 --- a/t/10_qpnames.t +++ b/t/10_qpnames.t @@ -1,3 +1,4 @@ +use utf8; use Test; use File::Spec; use strict; @@ -12,7 +13,7 @@ my ($msg) = $mb->get_messages; my $att = $msg->get_attachments; skip(&Mail::MboxParser::Mail::HAVE_MIMEWORDS ? 0 : "Mime::Words not installed", - defined $msg->get_attachments("test þðüýçö characters.txt")); + defined $msg->get_attachments("test şğüıçö characters.txt")); -- 1.7.5.4