This queue is for tickets about the Template-Magic CPAN distribution.

Report information
The Basics
Id:
9019
Status:
patched
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
KENTNL [...] cpan.org
reto-company-perlbug [...] schuettel.ch
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
  • 1.33
  • 1.39
Fixed in:
(no value)



Subject: Promlems with FillinForm during make test
Hi Domizio I had problems during make test of Template::Magic on a Debian Stable (woody) x86 box (perl 5.6.1): t/27_FillInForm.................Name "main::FillInForm" used only once: possible typo at t/27_FillInForm.t line 9. t/27_FillInForm.................NOK 1# Failed test (t/27_FillInForm.t at line 64) # got: ' # <form> # <input type="text" name="fieldA"> # <input value="B" type="text" name="fieldB"> # <input type="text" name="fieldC"> # </form> # ' # expected: ' # <form> # <input name="fieldA" type="text"> # <input value="B" name="fieldB" type="text"> # <input name="fieldC" type="text"> # </form> # ' t/27_FillInForm.................NOK 2# Failed test (t/27_FillInForm.t at line 68) # got: ' # <form> # <input value="A" type="text" name="fieldA"> # <input value="B" type="text" name="fieldB"> # <input value="C" type="text" name="fieldC"> # </form> # ' # expected: ' # <form> # <input value="A" name="fieldA" type="text"> # <input value="B" name="fieldB" type="text"> # <input value="C" name="fieldC" type="text"> # </form> # ' # Looks like you failed 2 tests of 2. t/27_FillInForm.................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/28_memory_leaking.............Name "main::my_loop" used only once: possible typo at t/28_memory_leaking.t line 13. t/28_memory_leaking.............ok t/29_direct_array...............Name "main::array" used only once: possible typo at t/29_direct_array.t line 8. t/29_direct_array...............ok t/30_container..................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/27_FillInForm.t 2 512 2 2 100.00% 1-2 Failed 1/29 test scripts, 96.55% okay. 2/41 subtests failed, 95.12% okay. make: *** [test_dynamic] Fehler 11 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Bundle summary: The following items in bundle Bundle::Template::Magic had installation problems: Template::Magic Exactly the same problem was reported on the following url: http://nntp.x.perl.org/group/perl.cpan.testers/172532 thanks! reto

Additionally, as of Perl 5.14.1, this same test emits spurious warnings:

1. Use of qw(...) as parentheses is deprecated
2. defined(%hash) is deprecated

 

Subject: Problems with FillinForm during make test
The test case needs some changes. The handling of newlines caused the problem, so it was the easiest solution to avoid them in the test case. The warnings are also removed.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.