Subject: | t/meta.t and t/up_table_map.t fail (paese errors: too many tests) |
$ prove -v -l t/meta.t t/up_table_map.t
t/meta.t ..........
ok 1 - use CGI::Uploader;
ok 2 - use DBI;
ok 3 - use CGI;
1..12
ok 4 - loading configuration
ok 5 - connecting to database
ok 6 - opening SQL create file
ok 7 - creating uploads table
ok 8 - opening SQL create test table file
ok 9 - creating test table
ok 10 - Uploader object creation
ok 11 - store_upload() survives
ok 12 - both parent and generated file have shared_meta
ok 13 - meta_hashref id
ok 14 - meta_hashref extension
ok 15 - meta_hashref url
All 12 subtests passed
t/up_table_map.t ..
ok 1 - use CGI::Uploader;
ok 2 - use DBI;
ok 3 - use CGI;
ok 4 - use Test::DatabaseRow;
1..19
ok 5 - loading configuration
ok 6 - connecting to database
ok 7 - opening SQL create test table file
ok 8 - creating test table
ok 9 - opening SQL create file
ok 10 - creating uploads table
ok 11 - Uploader object creation
ok 12 - calling store_uploads
ok 13 - store_uploads entity additions work
ok 14 - store_uploads entity removals work
ok 15 - expected number of files created
ok 16 - reality checking a database row
ok 17 - number of rows in database
ok 18 - test data insert
ok 19 - fk_meta keys returned
ok 20 - fk_meta URLs look correct
ok 21 - delete_checked_uploads returned field ids
ok 22 - expected number of files removed
ok 23 - number of rows removed
All 19 subtests passed
Test Summary Report
-------------------
t/meta.t (Wstat: 0 Tests: 15 Failed: 3)
Failed tests: 13-15
Parse errors: Plan (1..12) must be at the beginning or end of the TAP output
Bad plan. You planned 12 tests but ran 15.
t/up_table_map.t (Wstat: 0 Tests: 23 Failed: 4)
Failed tests: 20-23
Parse errors: Plan (1..19) must be at the beginning or end of the TAP output
Bad plan. You planned 19 tests but ran 23.
Files=2, Tests=38, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.51 cusr 0.05 csys = 0.61 CPU)
Result: FAIL
$ perl -v
This is perl, v5.8.9 built for i386-freebsd
t/meta.t ..........
ok 1 - use CGI::Uploader;
ok 2 - use DBI;
ok 3 - use CGI;
1..12
ok 4 - loading configuration
ok 5 - connecting to database
ok 6 - opening SQL create file
ok 7 - creating uploads table
ok 8 - opening SQL create test table file
ok 9 - creating test table
ok 10 - Uploader object creation
ok 11 - store_upload() survives
ok 12 - both parent and generated file have shared_meta
ok 13 - meta_hashref id
ok 14 - meta_hashref extension
ok 15 - meta_hashref url
All 12 subtests passed
t/up_table_map.t ..
ok 1 - use CGI::Uploader;
ok 2 - use DBI;
ok 3 - use CGI;
ok 4 - use Test::DatabaseRow;
1..19
ok 5 - loading configuration
ok 6 - connecting to database
ok 7 - opening SQL create test table file
ok 8 - creating test table
ok 9 - opening SQL create file
ok 10 - creating uploads table
ok 11 - Uploader object creation
ok 12 - calling store_uploads
ok 13 - store_uploads entity additions work
ok 14 - store_uploads entity removals work
ok 15 - expected number of files created
ok 16 - reality checking a database row
ok 17 - number of rows in database
ok 18 - test data insert
ok 19 - fk_meta keys returned
ok 20 - fk_meta URLs look correct
ok 21 - delete_checked_uploads returned field ids
ok 22 - expected number of files removed
ok 23 - number of rows removed
All 19 subtests passed
Test Summary Report
-------------------
t/meta.t (Wstat: 0 Tests: 15 Failed: 3)
Failed tests: 13-15
Parse errors: Plan (1..12) must be at the beginning or end of the TAP output
Bad plan. You planned 12 tests but ran 15.
t/up_table_map.t (Wstat: 0 Tests: 23 Failed: 4)
Failed tests: 20-23
Parse errors: Plan (1..19) must be at the beginning or end of the TAP output
Bad plan. You planned 19 tests but ran 23.
Files=2, Tests=38, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.51 cusr 0.05 csys = 0.61 CPU)
Result: FAIL
$ perl -v
This is perl, v5.8.9 built for i386-freebsd