Date: | Wed, 09 Apr 2003 16:00:06 -0500 |
To: | bug-test-harness [...] rt.cpan.org |
From: | Mike O'Regan <moregan [...] stresscafe.com> |
Subject: | Use of uninitialized value.../usr/local/lib/perl5/5.8.0/Test/Harness.pm line 901 |
When the number of tests given by the plan is exceeded Test::Harness trips
a Perl use-of-uninitialized-value warning and then a couple more:
# Looks like you planned 270 tests but ran 10 extra.
dubious
Test returned status 10 (wstat 2560, 0xa00)
Use of uninitialized value in concatenation (.) or string at
/usr/local/lib/perl5/5.8.0/Test/Harness.pm line 901.
DIED. FAILED test
Failed 0/270 tests, 100.00% okay
Use of uninitialized value in formline at (eval 3) line 3.
Use of uninitialized value in formline at (eval 3) line 6.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
testfile.t 10 2560 270 0 0.00%
Failed 1/1 test scripts, 0.00% okay. -10/270 subtests failed, 103.70% okay.
If you run fewer tests than planned you do not get the warnings.
Perl 5.8.0 on RedHat Linux 8.0