[SCM] libcgi-formbuilder-perl Debian packaging branch, master, updated. debian/3.05.01-10-9-g49bc99e

Jonas Smedegaard dr at jones.dk
Sun Sep 11 01:02:12 UTC 2011


The following commit has been merged in the master branch:
commit d7e90227eb6e42d5078db4045d2858fe4554732c
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Sep 11 02:34:03 2011 +0200

    Add patch cherry-picked upstream to fix testsuite.

diff --git a/debian/patches/020110909~fcd40bf.patch b/debian/patches/020110909~fcd40bf.patch
new file mode 100644
index 0000000..80a044e
--- /dev/null
+++ b/debian/patches/020110909~fcd40bf.patch
@@ -0,0 +1,83 @@
+Description: Fix failing template tests due to JS bugfix in 3.06
+Author: Nate Wiger <nate at wiger.org>
+Last-Update: 2011-09-11
+
+--- a/t/2b-test03.html
++++ b/t/2b-test03.html
+@@ -24,6 +24,7 @@
+     if (! selected_sex) {
+         alertstr += '- Choose one of the "glass EYE fucker" options\n';
+         invalid++;
++        invalid_fields.push('sex');
+     }
+ 
+     if (invalid > 0 || alertstr != '') {
+--- a/t/2c-test03.html
++++ b/t/2c-test03.html
+@@ -24,6 +24,7 @@
+     if (! selected_sex) {
+         alertstr += '- Choose one of the "glass EYE fucker" options\n';
+         invalid++;
++        invalid_fields.push('sex');
+     }
+ 
+     if (invalid > 0 || alertstr != '') {
+--- a/t/2d-test03.html
++++ b/t/2d-test03.html
+@@ -24,6 +24,7 @@
+     if (! selected_sex) {
+         alertstr += '- Choose one of the "glass EYE fucker" options\n';
+         invalid++;
++        invalid_fields.push('sex');
+     }
+ 
+     if (invalid > 0 || alertstr != '') {
+--- a/t/2e-test01.html
++++ b/t/2e-test01.html
+@@ -26,7 +26,6 @@
+ </script>
+ <p>
+ <form action="TEST" method="get" onsubmit="return validate(this);"><input id="_submitted" name="_submitted" type="hidden" value="1" />
+-<input id="_submit" name="_submit" type="hidden" />
+ Enter your name: <input id="name" name="name" type="text" />
+ FYI, your dress size is 42<br>
+ <input id="_reset" name="_reset" type="reset" value="No esta una button del submito" /> 
+--- a/t/2e-test02.html
++++ b/t/2e-test02.html
+@@ -4,8 +4,7 @@
+ 
+ <p>
+ <form action="TEST" method="get"><input id="_submitted" name="_submitted" type="hidden" value="1" />
+-<input id="_submit" name="_submit" type="hidden" />
+ Enter your name: <input id="name" name="name" size="80" type="text" />
+ FYI, your dress size is 8<br>
+-<input id="_reset" name="_reset" type="reset" value="Start over, boob!" /> <input name="_submit" type="submit" value="Submit" />
++<input id="_reset" name="_reset" type="reset" value="Start over, boob!" /> <input id="_submit" name="_submit" type="submit" value="Submit" />
+ </form>
+--- a/t/2e-test03.html
++++ b/t/2e-test03.html
+@@ -38,8 +38,7 @@
+ </script>
+ <p>
+ <form action="TEST" method="get" onsubmit="return validate(this);"><input id="_submitted" name="_submitted" type="hidden" value="1" />
+-<input id="_submit" name="_submit" type="hidden" />
+ Enter your name: <input id="name" name="name" type="text" />
+ FYI, your dress size is (unknown)<br>
+- <input onclick="document.getElementById('_submit').value = this.value;" type="submit" value="Update" /><input onclick="document.getElementById('_submit').value = this.value;" type="submit" value="Delete" />
++ <input id="_submit" name="_submit" onclick="this.form._submit.value = this.value;" type="submit" value="Update" /><input id="_submit_2" name="_submit" onclick="this.form._submit.value = this.value;" type="submit" value="Delete" />
+ </form>
+--- a/t/2e-test04.html
++++ b/t/2e-test04.html
+@@ -10,11 +10,10 @@
+ <body>
+ 
+ <form action="TEST" method="post"><input id="_submitted" name="_submitted" type="hidden" value="1" />
+-<input id="_submit" name="_submit" type="hidden" />
+   test form page:<br/>
+   <br/>
+   <!-- buttons -->
+-<input name="_submit" type="submit" value="Submit" />
++<input id="_submit" name="_submit" type="submit" value="Submit" />
+ </form>
+ 
+ </body>
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3b94fa9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+020110909~fcd40bf.patch

-- 
libcgi-formbuilder-perl Debian packaging



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