[libmongodb-perl] 01/01: added fix-db-test patch (Closes: #730913)
dod at debian.org
dod at debian.org
Thu Apr 10 16:35:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libmongodb-perl.
commit bd20e1c3685fd0d1cf44a578fdb00b9599e18e04
Author: Dominique Dumont <dod at debian.org>
Date: Thu Apr 10 18:35:14 2014 +0200
added fix-db-test patch (Closes: #730913)
---
debian/patches/fix-db-test | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/fix-db-test b/debian/patches/fix-db-test
new file mode 100644
index 0000000..58c1c5c
--- /dev/null
+++ b/debian/patches/fix-db-test
@@ -0,0 +1,18 @@
+Description:Fix db test
+ Change the expected error string to a new value
+ issued by mongodb. The change also accepts
+ older error string to be backward compatible
+Bug:http://rt.cpan.org/Public/Bug/Display.html?id=91085
+Bug-Debian:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730913
+Author:dod
+--- a/t/db.t
++++ b/t/db.t
+@@ -49,7 +49,7 @@
+ is('hello, world', $hello, 'db eval');
+
+ my $err = $db->eval('function(x) { xreturn "hello, "+x; }', ["world"]);
+-like($err, qr/(?:compile|execution) failed/, 'js err');
++like($err, qr/(?:compile|execution) failed|exception: SyntaxError: Unexpected string/, 'js err');
+
+ # tie
+ {
diff --git a/debian/patches/series b/debian/patches/series
index fca8825..9b81a30 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-manpage-spelling.patch
5.14-ccflags.patch
+fix-db-test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmongodb-perl.git
More information about the Pkg-perl-cvs-commits
mailing list