Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 37926
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: ZMAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 4.007
  • 4.008
Fixed in: (no value)



Subject: t/50chopblanks failures
I'm getting the following failures on 2 Linux boxes (against a 4.0.27 server) and an Intel Mac (against a 4.1.22 server). All machines are using perl-5.8.6 and DBI-1.607. All tests pass fine for these configurations with DBD-mysql-4.005. PERL_DL_NONLAZY=1 /usr/opt/perl-5.8.6/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/50chopblanks.t t/50chopblanks....1..29 ok 1 - drop table if exists t1 ok 2 - create table t1 ok 3 ok 4 ok 5 - inserting (1, ) into t1 ok 6 - selecting where id = 1 ok 7 ok 8 - $name should not have blanks chopped ok 9 ok 10 ok 11 - should have blanks chopped ok 12 - inserting (2, ) into t1 ok 13 - selecting where id = 2 ok 14 not ok 15 - $name should not have blanks chopped # Failed test '$name should not have blanks chopped' # in t/50chopblanks.t at line 51. # got: '' # expected: ' ' ok 16 ok 17 ok 18 - should have blanks chopped ok 19 - inserting (3, a b c ) into t1 ok 20 - selecting where id = 3 ok 21 not ok 22 - $name should not have blanks chopped # Failed test '$name should not have blanks chopped' # in t/50chopblanks.t at line 51. # got: ' a b c' # expected: ' a b c ' ok 23 ok 24 ok 25 - should have blanks chopped ok 26 ok 27 ok 28 - drop t1 ok 29 # Looks like you failed 2 tests of 29. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 15, 22 Failed 2/29 tests, 93.10% okay Failed Test Stat Wstat Total Fail List of Failed ----------------------------------------------------------------------- -------- t/50chopblanks.t 2 512 29 2 15 22 Failed 1/1 test scripts. 2/29 subtests failed. Files=1, Tests=29, 0 wallclock secs ( 0.08 cusr + 0.01 csys = 0.09 CPU) Failed 1/1 test programs. 2/29 subtests failed. make: *** [test_dynamic] Error 2
Changed expected value for failed tests if mysql version < 4.1
Just a note, that I was seeing this error on a 4.1 server as well.
With 4.008 I'm still getting the error on the Intel Mac (against a 4.1.22 server), but the Linux boxes (against a 4.0.27 server) pass fine now.
Hi, I *know* that you raised this ticket 5 years ago. I'm rejecting it now because MySQL 4 is out of support. Sorry that it took so long :-D -- Mike