Subject: | make test fails |
Executing make test following make resulted in an error:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/hash.........ok 1/2Attempt to bless into a reference at t//Mail/TieFolder/dummy.pm line 19.
t/hash.........dubious
Test returned status 255 (wstat 65280, 0xff00)
The enclosed patch file corrected the error.
My perl version: Summary of my perl5 (revision 5.0 version 8 subversion 3)
on Redhat Fedora Core 2
--- t/Mail/TieFolder/dummy.pm.orig 2004-06-22 20:29:09.729498294 -0500
+++ t/Mail/TieFolder/dummy.pm 2004-06-22 20:27:41.179739127 -0500
@@ -16,7 +16,7 @@
return 0 unless $rargs eq "dummyargs";
my $self={};
- bless $self, $class;
+ bless $self, ref($class);
return $self;
}