[libmoosex-app-cmd-perl] 01/02: Add patch to update regexps in tests.

gregor herrmann gregoa at debian.org
Mon Jun 2 21:36:59 UTC 2014


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

gregoa pushed a commit to branch master
in repository libmoosex-app-cmd-perl.

commit 69ee957f627182e26d998154c77cdc67184ed1ac
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 2 23:34:47 2014 +0200

    Add patch to update regexps in tests.
    
    Thanks: David Suárez for the bug report.
    Closes: #750305
---
 debian/patches/fix-test-regexps.patch | 30 ++++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/fix-test-regexps.patch b/debian/patches/fix-test-regexps.patch
new file mode 100644
index 0000000..515004a
--- /dev/null
+++ b/debian/patches/fix-test-regexps.patch
@@ -0,0 +1,30 @@
+Description: make fragile regexps a bit more liberal
+Origin: vendor
+Bug: https://github.com/mjgardner/moosex-app-cmd/issues/12
+Bug-Debian: http://bugs.debian.org/750305
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-06-02
+
+--- a/t/basic.t
++++ b/t/basic.t
+@@ -70,7 +70,7 @@
+ 
+     like(
+         $@,
+-        qr/Mandatory parameter 'wow' missing in call to \(eval\)/,
++        qr/Mandatory parameter 'wow' missing in call to ["(]eval[")]/,
+         'required option field is missing',
+     );
+ }
+--- a/t/configfile.t
++++ b/t/configfile.t
+@@ -27,7 +27,7 @@
+ 
+     like(
+         $@,
+-        qr/Mandatory parameter 'moo' missing in call to \(eval\)/,
++        qr/Mandatory parameter 'moo' missing in call to ["(]eval[")]/,
+         'command died with the correct string',
+     );
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5d46a54
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-test-regexps.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-app-cmd-perl.git



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