Skip Menu |

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

Report information
The Basics
Id: 81402
Status: resolved
Priority: 0/
Queue: CGI-Struct

People
Owner: FULLERMD [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.20
Fixed in: 1.21



Subject: Test failures due to hash randomisation in perl 5.17.6
Since bleadperl v5.17.5-518-g7dc8663 tests are failing frequently. That commit introduced hash key randomization and it seems the test t/05-bad.t was hit by that. Sample fail report: http://www.cpantesters.org/cpan/report/d475b444-31d9-11e2-9f89-98cda290f8f5 HTH&&Regards,
This is a failure in the test only; the code is fine. Minor patch attached, will be in next release.
Subject: tfail.patch
=== modified file 't/05-bad.t' --- t/05-bad.t 2012-09-30 21:55:16 +0000 +++ t/05-bad.t 2012-11-24 13:17:17 +0000 @@ -69,7 +69,7 @@ "Got error for h{foo}.{bar}"); # This mismatch could come in either order -ok(grep(/already have [A-Z]+, expecting [a-z]+ for (1|xyz) in m\{xyz}/, +ok(grep(/already have [A-Z]+, expecting [a-z]+ for (1|xyz) in m(\[1]|\{xyz})/, @errs), "Got error for m{xyz}");