[libical-parser-html-perl] 04/09: new hash-randomization.patch

Florian Schlichting fsfs at moszumanska.debian.org
Wed Apr 23 16:42:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository libical-parser-html-perl.

commit bda3aeb76f584b3993aa2347715d130380906177
Author: Florian Schlichting <fsfs at debian.org>
Date:   Wed Apr 23 17:17:20 2014 +0200

    new hash-randomization.patch
---
 debian/patches/hash-randomization.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/hash-randomization.patch b/debian/patches/hash-randomization.patch
new file mode 100644
index 0000000..76b37bf
--- /dev/null
+++ b/debian/patches/hash-randomization.patch
@@ -0,0 +1,26 @@
+Description: fix hash randomization issues
+ a better solution would be to say 'sort keys %testmap', but that's not
+ the order in use in $expected
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=94968
+
+--- a/t/01parse.t
++++ b/t/01parse.t
+@@ -30,7 +30,7 @@
+ foreach my $type ( qw(day week month year) ) {
+     my $got=$parser
+     ->parse(type=>$type,start=>'2004-11-12',url=>'multical?',
+-	    files=>[map {"t/calendars/$_"} keys %testmap]);
++	    files=>['t/calendars/event-duration.ics', 't/calendars/complex.ics', 't/calendars/all-day-event.ics']);
+     $got=~s/today//g;
+     $got=~s/ class=""//g;
+     dump_html("$caldir/multical.$type.html",$got) if $ENV{_DUMP_TEST_HTML_};
+@@ -44,7 +44,7 @@
+ foreach my $type ( qw(day week month) ) {
+     my $got=$parser
+     ->parse(type=>$type,start=>'2004-11-12',
+-	    files=>[map {"t/calendars/$_"} keys %testmap]);
++	    files=>['t/calendars/event-duration.ics', 't/calendars/complex.ics', 't/calendars/all-day-event.ics']);
+     $got=~s/today//g;
+     $got=~s/ class=""//g;
+     dump_html("$caldir/multical.nolink.$type.html",$got) if $ENV{_DUMP_TEST_HTML_};
diff --git a/debian/patches/series b/debian/patches/series
index 7844c12..392c5f1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 perl5.18.patch
 this-month.patch
 normlize-test-output.patch
+hash-randomization.patch
 test-longstring.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libical-parser-html-perl.git



More information about the Pkg-perl-cvs-commits mailing list