Skip Menu |

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

Report information
The Basics
Id: 45171
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

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



Subject: test failure on CentOS 4.6
I have no problems installing on my Mac OS X 10.5 workstation and a CentOS 5.3 server but getting the following on a CentOS 4.6 server: t/09_create_function.....................ok 3/19 # Failed test 'SELECT my_defined(NULL)' # at t/09_create_function.t line 105. t/09_create_function.....................ok 4/19# Structures begin differing at: # $got->[0] = '' # $expected->[0] = '0' t/09_create_function.....................ok 19/19# Looks like you failed 1 test of 19. t/09_create_function.....................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 Failed 1/19 tests, 94.74% okay perl version is 5.8.5 gcc version 3.4.6 20060404 (Red Hat 3.4.6-10) Let me know if there is any more info that might be needed
Would this patch work for you? Index: t/09_create_function.t =================================================================== --- t/09_create_function.t (revision 6511) +++ t/09_create_function.t (working copy) @@ -45,7 +45,7 @@ sub my_defined { # warn("defined($_[0])\n"); - return defined $_[0]; + return defined $_[0] ? 1 : 0; } sub noop { On Mon Apr 20 18:19:14 2009, dsteinbrunner@pobox.com wrote: Show quoted text
> I have no problems installing on my Mac OS X 10.5 workstation and a > CentOS 5.3 server but getting the following on a CentOS 4.6 server: > > t/09_create_function.....................ok 3/19 > # Failed test 'SELECT my_defined(NULL)' > # at t/09_create_function.t line 105. > t/09_create_function.....................ok 4/19# Structures begin > differing at: > # $got->[0] = '' > # $expected->[0] = '0' > t/09_create_function.....................ok 19/19# Looks like you > failed 1 test of 19. > t/09_create_function.....................dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 14 > Failed 1/19 tests, 94.74% okay > > perl version is 5.8.5 > gcc version 3.4.6 20060404 (Red Hat 3.4.6-10) > > Let me know if there is any more info that might be needed
On Tue Apr 21 02:46:38 2009, ISHIGAKI wrote: Show quoted text
> Would this patch work for you?
Yes. With that change I get all tests passing on the CentOS 4.6 box.
Fixed in 1.24_01. Thanks. On Tue Apr 21 07:29:19 2009, dsteinbrunner@pobox.com wrote: Show quoted text
> On Tue Apr 21 02:46:38 2009, ISHIGAKI wrote:
> > Would this patch work for you?
> > Yes. With that change I get all tests passing on the CentOS 4.6 box.