Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

12-html_fragment_ok.t may fail (hash randomization?) #39

Closed
eserte opened this issue Apr 7, 2015 · 4 comments
Closed

12-html_fragment_ok.t may fail (hash randomization?) #39

eserte opened this issue Apr 7, 2015 · 4 comments

Comments

@eserte
Copy link

eserte commented Apr 7, 2015

With HTML-Lint-2.22 12-html_fragment_ok.t may fail, but only for perls >= 5.18:

#   Failed test 'Error matches string'
#   at t/LintTest.pl line 36.
#          got: 'Set #1 (6:1) <html> tag is required'
#     expected: 'Set #1 (6:1) <head> tag is required'

#   Failed test 'Error matches string'
#   at t/LintTest.pl line 36.
#          got: 'Set #1 (6:1) <title> tag is required'
#     expected: 'Set #1 (6:1) <html> tag is required'

#   Failed test 'Error matches string'
#   at t/LintTest.pl line 36.
#          got: 'Set #1 (6:1) <head> tag is required'
#     expected: 'Set #1 (6:1) <title> tag is required'
# Looks like you failed 3 tests of 16.
t/12-html_fragment_ok.t ......... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/16 subtests 
@petdance
Copy link
Owner

petdance commented Apr 7, 2015

What makes you say that it is Perls >= 5.18?

@eserte
Copy link
Author

eserte commented Apr 7, 2015

The "fast" cpantestersmatrix view: http://217.199.168.174/cgi-bin/cpantestersmatrix.pl?dist=HTML-Lint

@petdance
Copy link
Owner

petdance commented Apr 7, 2015

This is fixed with f5115c7. Thanks.

@petdance petdance closed this as completed Apr 7, 2015
@eserte
Copy link
Author

eserte commented Dec 1, 2015

For a reliable build+test I have to use the following CPAN distroprefs file (this can be interpreted as: there's still no release with this fix):

---
match:
  distribution: '/HTML-Lint-2\.22\.'
  perlconfig:
    version: '^5\.(18|19|20|21|22|23)\.'
test:
  env:
    PERL_HASH_SEED: 3
    PERL_PERTURB_KEYS: NO

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants