On Wednesday 03 March 2004 11:50 pm, Beau E. Cox wrote:
> Hello folks,
>
> I noticed changed in DBD::DBM in the latest svn DBI source.
>
> When I try to test DBI (make is fine):
>
> PERL_DL_NONLAZY=1 /home/test/perl/5.8.3-ithread/bin/perl
> "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t
> t/01basics............. dbih_clearcom (drh 0x8104b7c, com 0x81a6c18, imp
> DBD::DBM::dr):
> FLAGS 0x100215: COMSET Active Warn PrintWarn AutoCommit
> PARENT undef
> KIDS 0 (0 Active)
> IMP_DATA undef
[blah, blah, blah]
Ok, I 'registered DBD::DBM in DBI.pm:
# --- Driver Specific Prefix Registry ---
my $dbd_prefix_registry = {
ad_ => { class => 'DBD::AnyData', },
ado_ => { class => 'DBD::ADO', },
best_ => { class => 'DBD::BestWins', },
csv_ => { class => 'DBD::CSV', },
db2_ => { class => 'DBD::DB2', },
> dbm_ => { class => 'DBD::DBM', },
dbi_ => { class => 'DBI', },
df_ => { class => 'DBD::DF', },
[...]
Now I get:
PERL_DL_NONLAZY=1 /home/test/perl/5.8.3-ithread/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/01basics.............ok
t/02dbidrv.............ok
[...]
t/50dbm................Invalid attribute in connect: 'dbm_f_foo'!
# Looks like your test died before it could output anything.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
[...]
Invalid attribute in connect: 'dbm_f_foo'!
...propagated at t/zz_50dbm_pp.t line 4.
# Looks like your test died before it could output anything.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/zz_60preparse_pp.....skipped
all skipped: preparse not supported for DBI::PurePerl
t/zz_80proxy_pp........skipped
all skipped: DBD::Proxy currently has a problem under DBI::PurePerl
Failed 2/38 test scripts, 94.74% okay. 16/1716 subtests failed, 99.07% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/50dbm.t 2 512 8 16 200.00% 1-8
t/zz_50dbm_pp.t 2 512 8 16 200.00% 1-8
6 tests skipped.
make: *** [test_dynamic] Error 255
What be 'dbm_f_foo'?
Aloha => Beau;