Bug#468929: mbox open failures cause test failures
    Drake Diedcrich 
    drake.diedrich at gmail.com
       
    Fri Feb 13 02:46:36 UTC 2009
    
    
  
Mail::Cclient fails to open mbox files (found while looking for a faster 
mbox parser - the pure-perl ones used too many memory and CPU resources 
on really large mbox files).  Most of the tests depend on doing this, as 
the test cases are all stored in local mbox files.  I'll poke at it a 
bit more and try to figure out what's not working and whether it can be 
patched here.
A test program for use with any mbox file:
#!/usr/bin/perl
use strict;
use Mail::Cclient;
foreach my $mboxname (@ARGV) {
  my $c = new Mail::Cclient($mboxname, 'readonly');
     
  if (defined $c) {
    print STDERR "$mboxname opened by Mail::CClient\n";
  } else {
    print STDERR "$mboxname open failed\n";
  }
}
<dld at debian.org>
    
    
More information about the pkg-perl-maintainers
mailing list