Jeff

I'm working thru the tests, and have some problems.

Environment:
OS: Win2K
Perl 5.8.0
DBI 1.30
DBD::ODBC 1.01
MyODBC 3.51.04
MySQL 3.23.51

Problem (1 of several, for the moment):
t\03dbatt........1..16
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
not ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
FAILED test 7
        Failed 1/16 tests, 93.75% okay

I notice in 03dbatt.t, lines 37 .. 39 look like this (note the == 1):

$rc = commitTest($dbh);
print " ", $DBI->errstr, "" if ($rc < 0);
Test($rc == 1); # print "not " unless ($rc == 1);

whereas lines 46 .. 49 look like this (note the == 0):

$rc = commitTest($dbh);
print $DBI->errstr, "\n" if ($rc < 0);
Test($rc == 0);

And sub commitTest returns 1 at line 134 when it works.

I take it line 49 is wrong?
--
Ron Savage, [EMAIL PROTECTED] on 13/12/2002
Deakin University, 221 Burwood Highway, Burwood, VIC 3125, Australia
Phone: +61-3-9251 7441, Fax: +61-3-9251 7604
http://www.deakin.edu.au/~rons


Reply via email to