[libhtml-lint-perl] 09/11: Add patch from upstrearm VCS to fix test failing due to hash randomization
Florian Schlichting
fsfs at moszumanska.debian.org
Fri Jul 3 14:40:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libhtml-lint-perl.
commit 1c90f05a41b32d59d2386bcdb732e03298952722
Author: Florian Schlichting <fsfs at debian.org>
Date: Fri Jul 3 16:29:48 2015 +0200
Add patch from upstrearm VCS to fix test failing due to hash randomization
---
debian/patches/fix-test-hash-sort-order.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/fix-test-hash-sort-order.patch b/debian/patches/fix-test-hash-sort-order.patch
new file mode 100644
index 0000000..6fac9a3
--- /dev/null
+++ b/debian/patches/fix-test-hash-sort-order.patch
@@ -0,0 +1,14 @@
+Description: fix tests failing due to hash randomization
+Origin: upstream VCS
+
+--- a/lib/HTML/Lint/Parser.pm
++++ b/lib/HTML/Lint/Parser.pm
+@@ -102,7 +102,7 @@
+ sub _end_document {
+ my ($self,$line,$column) = @_;
+
+- for my $tag ( keys %isRequired ) {
++ for my $tag ( sort keys %isRequired ) {
+ if ( !$self->{_first_seen}->{$tag} ) {
+ $self->gripe( 'doc-tag-required', tag => $tag );
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0e6a308
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-test-hash-sort-order.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-lint-perl.git
More information about the Pkg-perl-cvs-commits
mailing list