Subject: | t/40catalog.t incorrect number of tests w/4.1.22 server |
perl-5.8.6
DBI-1.54
Mac OS X 10.4.8 (Intel)
t/40catalog.t fails because it runs 77 tests instead of the planned 75. Changing line 25 to ...
plan tests => 77;
... fixes the problem for me.
$ make test TEST_VERBOSE=1 TEST_FILES=t/40catalog.t
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1,
'blib/lib', 'blib/arch')" t/40catalog.t
t/40catalog....1..75
ok 1 - connecting
ok 2 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 3 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 4 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 5 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 6 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 7 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 8 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 9 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 10 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 11 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 12 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 13 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 14 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 15 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 16 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 17 # skip Server is too old to support INFORMATION_SCHEMA for foreign keys
ok 18 - No catalogs expected
ok 19 - Some schemas expected
ok 20 - Some table types expected
ok 21 - cleaning up
ok 22
ok 23
ok 24
ok 25
ok 26 - one row expected
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33 - two rows expected
ok 34
ok 35
ok 36
ok 37 - only one table expected
ok 38
ok 39
ok 40
ok 41 - only one table expected
ok 42
ok 43
ok 44
ok 45 - only one table expected
ok 46 - five tables expected
ok 47 - table with single quote
ok 48 - table with back quote
ok 49 - two tables expected
ok 50 - cleaning up
ok 51 # skip Server is too old to support views
ok 52 # skip Server is too old to support views
ok 53 # skip Server is too old to support views
ok 54 # skip Server is too old to support views
ok 55 # skip Server is too old to support views
ok 56 # skip Server is too old to support views
ok 57 # skip Server is too old to support views
ok 58 # skip Server is too old to support views
ok 59 # skip Server is too old to support views
ok 60 # skip Server is too old to support views
ok 61 # skip Server is too old to support views
ok 62 # skip Server is too old to support views
ok 63 # skip Server is too old to support views
ok 64 # skip Server is too old to support views
ok 65 # skip Server is too old to support views
ok 66 # skip Server is too old to support views
ok 67 # skip Server is too old to support views
ok 68 # skip Server is too old to support views
ok 69 # skip Server is too old to support views
ok 70 - cleaning up
ok 71 - creating table
ok 72
ok 73
ok 74
ok 75
ok 76
# Looks like you planned 75 tests but ran 2 extra.
ok 77 - cleaning up
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 76-77
Failed 2/75 tests, 97.33% okay (less 35 skipped tests: 38 okay, 50.67%)
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------------
-
t/40catalog.t 255 65280 75 2 76-77
35 subtests skipped.
Failed 1/1 test scripts. -2/75 subtests failed.
Files=1, Tests=75, 0 wallclock secs ( 0.08 cusr + 0.03 csys = 0.11 CPU)
Failed 1/1 test programs. -2/75 subtests failed.
make: *** [test_dynamic] Error 255