Re: DBI_USER empty vs undef - Re: DBIT prototype - feedback wanted

"H.Merijn Brand" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Sun, 9 Mar 2014 19:46:19 +0000, Tim Bunce <[email protected]>
wrote:

> On Sun, Mar 09, 2014 at 03:10:08PM +0100, H.Merijn Brand wrote:
> > On Sun, 9 Mar 2014 13:29:32 +0000, Tim Bunce <[email protected]>
> > > > 
> > > > The root cause is in Test::Database. I've opened a case for it:
> > > > https://rt.cpan.org/Ticket/Display.html?id=93128
> > > 
> > > BooK has fixed that in T:DB v1.111 - please retry.
> > 
> > Hmmm, I don't know about "fixed", but I installed that anyway.
> > Reply includes both the Test::Database and the tumbler results
> > 
> > YAML::Tiny failed to classify line 'dbi:DBM::' at /home/merijn/.cpan/build/Test-Database-1.111-O2MmHq/blib/lib/Test/Database/Driver.pm line 102.
> 
> That's the known problem with YAML::Tiny. You nees to run
> cpanm http://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-1.56.tar.gz
> See https://github.com/perl5-dbi/DBI-Test/tree/master/sandbox/tim#synopsis

I know, but with that Test::Database errored even more, so my hunch was
that new release fixed more:

Test::Database with YAML::Tiny-1.56

t/10-drivers.t ................ 1/70 # CSV driver (created by Test::Database::Driver)
# CSV driver (created by Test::Database::Driver::CSV)
# DBM driver (created by Test::Database::Driver)
# DBM driver (created by Test::Database::Driver::DBM)
# SQLite driver (created by Test::Database::Driver)
# SQLite driver (created by Test::Database::Driver::SQLite)
t/10-drivers.t ................ ok
t/10-list_drivers.t ........... ok
t/11-available_dbname.t ....... ok
t/11-make_dsn.t ............... ok
t/11-version_matches.t ........ ok
t/12-load.t ................... ok
t/20-handles.t ................ ok
t/25-sql.t .................... # SQL::Statement 1.405
# skipping DBM tests because of SQL::Statement bug
t/25-sql.t .................... 1/36 # Testing driver CSV 1.05, DBD::CSV 0.41
Use of uninitialized value $dbname in concatenation (.) or string at t/25-sql.t line 60.
Use of uninitialized value $dbname in concatenation (.) or string at t/25-sql.t line 67.
Use of uninitialized value $dbname in concatenation (.) or string at t/25-sql.t line 60.
Use of uninitialized value $dbname in concatenation (.) or string at t/25-sql.t line 67.
Use of uninitialized value $old in string eq at t/25-sql.t line 87.
Use of uninitialized value $old in string eq at t/25-sql.t line 87.
Use of uninitialized value $old in string eq at t/25-sql.t line 87.
Use of uninitialized value $old in string eq at t/25-sql.t line 87.
Use of uninitialized value $old in concatenation (.) or string at t/25-sql.t line 87.

#   Failed test 'Database  still there'
#   at t/25-sql.t line 87.
Can't open directory /tmp/Test-Database-merijn/CSV for reading: No such file or directory at t/25-sql.t line 90.
# Looks like you planned 36 tests but ran 16.
# Looks like you failed 1 test of 16 run.
# Looks like your test exited with 2 just after 16.
t/25-sql.t .................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 21/36 subtests
t/pod-coverage.t .............. ok
t/pod.t ....................... ok
t/release-distmeta.t .......... skipped: these tests are for release candidate testing
t/release-pod-coverage.t ...... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ........ skipped: these tests are for release candidate testing

> > ...
> 
> TL;DR
> 
> Tim.


-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.