[libembperl-perl] 02/06: Add patch against test suite to fix hash randomisation issues
Axel Beckert
abe at deuxchevaux.org
Sat Jan 25 23:54:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libembperl-perl.
commit 247fe09615aa2093a01e388f6a0e58e9d2b8de69
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Jan 26 00:45:58 2014 +0100
Add patch against test suite to fix hash randomisation issues
Fixes hash randomisation issues in test #51
---
debian/changelog | 3 ++-
debian/patches/series | 1 +
debian/patches/test_suite_issues.patch | 31 +++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ee2af24..a8941e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
libembperl-perl (2.5.0~rc4-1) UNRELEASED; urgency=low
TODO:
- - Hash randomisation issues in test #51
+ - Test suite fails in test #66 lists.htm and it looks like a real bug
- should probably use dh_apache2 and switch to prefork mpm
- not sure if shipping a config in mods_available is still the way to go
@@ -19,6 +19,7 @@ libembperl-perl (2.5.0~rc4-1) UNRELEASED; urgency=low
[ Axel Beckert ]
* Import new upstream beta release 2.5.0~rc4
* Pipe "yes y" into dh_auto_configure to answer interactive questions.
+ * Add patch against test suite to fix hash randomisation issues.
-- Salvatore Bonaccorso <carnil at debian.org> Sun, 06 Jan 2013 22:00:37 +0100
diff --git a/debian/patches/series b/debian/patches/series
index 3db7ffd..678cf8a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
delay.patch
load_apache24_mpm.patch
+test_suite_issues.patch
diff --git a/debian/patches/test_suite_issues.patch b/debian/patches/test_suite_issues.patch
new file mode 100644
index 0000000..2bf8695
--- /dev/null
+++ b/debian/patches/test_suite_issues.patch
@@ -0,0 +1,31 @@
+Description: Fix hash randomisation issues in test suite
+Author: Axel Beckert <abe at debian.org>
+Forwarded: not-yet
+
+Index: libembperl-perl/test/cmp/escape.htm
+===================================================================
+--- libembperl-perl.orig/test/cmp/escape.htm 2013-08-29 16:17:33.000000000 +0200
++++ libembperl-perl/test/cmp/escape.htm 2014-01-26 00:34:24.000000000 +0100
+@@ -41,17 +41,17 @@
+ IMG: <img src="http://localhost/tests?id=abcdefghijklmnopqrstuvwxyz&text=This%20is%20a%20text%20%3F%20%26%20%2B%20-%20%2521" name="%20foo">
+ FORM: <form action="http://localhost/tests?id=abcdefghijklmnopqrstuvwxyz&text=This%20is%20a%20text%20%3F%20%26%20%2B%20-%20%2521" name="%20foo">
+
+-Hash in A <a href="http://localhost/tests?A=1&B=2">
++^Hash in A <a href=\"http:\/\/localhost\/tests\?(A=1\&B=2|B=2\&A=1)">
+ Array in A <a href="http://localhost/tests?X=9&Y=8&Z=7">
+
+-Hash in H <a href="http://localhost/tests?A=1&B=2">
++^Hash in H <a href=\"http:\/\/localhost\/tests\?(A=1\&B=2|B=2\&A=1)">
+ ^Array in H <a href=\"http\:\/\/localhost\/tests\?(X=9|Y=8|Z=7)\&(X=9|Y=8|Z=7)\&(X=9|Y=8|Z=7)\">
+
+
+ ^<a href=\"tst.html\?(par1=1|par2=2)&(par1=1|par2=2)\">1<\/a>
+-^<a href=\"tst.html\?(par1=1&par2=2|par2=2&par1=1)&par3=3\">2<\/a>
+-<a href="tst.html?par1=1&par2=2">3</a>
+-<a href="tst.html?par1=1&par2=2&par3=3">4</a>
++^<a href=\"tst.html\?par([123])=\1\&par([123])=\2\&par([123])=\3\">2<\/a>
++^<a href=\"tst.html\?(par1=1\&par2=2|par2=2\&par1=1)\">3</a>
++^<a href=\"tst.html\?par([123])=\1\&par([123])=\2\&par([123])=\3\">4</a>
+
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libembperl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list