Skip Menu |

This queue is for tickets about the CGI-Uploader CPAN distribution.

Report information
The Basics
Id: 65396
Status: open
Priority: 0/
Queue: CGI-Uploader

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.18
Fixed in: (no value)



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

Subject: Re: [rt.cpan.org #65396] t/meta.t and t/up_table_map.t fail (paese errors: too many tests)
Date: Thu, 03 Feb 2011 08:21:29 -0500
To: bug-CGI-Uploader [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Thanks for the report. Show quoted text
> This is perl, v5.8.9 built for i386-freebsd
And good to know we aren't the only ones using an old version of Perl on FreeBSD. Mark