Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 8800
Status: open
Priority: 0/
Queue: SQL-Translator

People
Owner: Nobody in particular
Requestors: radek [...] karnet.pl
Cc:
AdminCc:

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



Subject: [tests] t/31dumper.t fails (SQL::Translator 0.06)
perl version: 5.8.6. Operating system: Linux. Output of prove for this test with debug=>1 passed to SQL::Translator->new available at <http://radek.karnet.pl/pld/perl-SQL-Translator-0.06_t31.debug.gz>. $ prove -bdv t/31dumper.t # $Test::Harness::Switches: -Iblib/arch -Iblib/lib # 1 tests to run t/31dumper....# Running: /usr/bin/perl -Iblib/arch -Iblib/lib t/31dumper.t # PERL5LIB= 1..5 not ok 1 - Got dumper script # Failed test (t/31dumper.t at line 42) ok 2 - Generated script syntax is OK not ok 3 - Script contains correct DSN, db user and password # Failed test (t/31dumper.t at line 58) # undef # doesn't match '(?-xism:DBI->connect\(\s*'dbi:SQLite:dbname=/tmp/foo',\s*'nomar',\s*'gos0X!',)' not ok 4 - Found "person" table # Failed test (t/31dumper.t at line 61) # undef # doesn't match '(?-xism:table_name\s*=>\s*'person',)' ok 5 - Skipped "pet" table # Looks like you failed 3 tests of 5. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1, 3-4 Failed 3/5 tests, 40.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/31dumper.t 3 768 5 3 60.00% 1 3-4 Failed 1/1 test scripts, 0.00% okay. 3/5 subtests failed, 40.00% okay.
Has been resolved a long time ago
Happens when Template::Toolkit < 2.0 is available. Ticket prematurely closed before an escape was added to the test in question. The situation actuall exists in the wild: http://strawberryperl.com/release-notes/5.18.2.1-64bit.html