[SCM] Debian packaging of libredis-perl branch, master, updated. debian/1.9610-1-3-g5034c1a
gregor herrmann
gregoa at debian.org
Sat Jun 22 17:40:47 UTC 2013
The following commit has been merged in the master branch:
commit 89ee9da7783cd662ba4f731816d3a2079a373e53
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jun 22 19:37:47 2013 +0200
Add patch from upstream bug tracker to fix test suite
with redis 2.6.13.
Closes: #713223
diff --git a/debian/patches/redis-2.6.13.patch b/debian/patches/redis-2.6.13.patch
new file mode 100644
index 0000000..4b12d84
--- /dev/null
+++ b/debian/patches/redis-2.6.13.patch
@@ -0,0 +1,40 @@
+Description: fix tests for compatibility with redis 2.6.13
+Origin: upstream bug tracker
+Bug: https://github.com/melo/perl-redis/pull/41
+Forwarded: https://github.com/melo/perl-redis/pull/41
+Bug-Debian: http://bugs.debian.org/713223
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-06-22
+
+From 564e4976f2851e0301e5db5c4d59944eb5ea65e1 Mon Sep 17 00:00:00 2001
+From: perlpong <calyx238 at gmail.com>
+Date: Tue, 7 May 2013 23:43:23 +0000
+Subject: [PATCH] fix tests
+
+---
+ t/07-reconnect.t | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/t/07-reconnect.t b/t/07-reconnect.t
+index 950b1cb..dff1dc9 100755
+--- a/t/07-reconnect.t
++++ b/t/07-reconnect.t
+@@ -67,13 +67,13 @@ subtest 'KEYS commands with extra logic triggers reconnect' => sub {
+ };
+
+
+-subtest "Bad commnands don't trigger reconnect" => sub {
++subtest "Bad commands don't trigger reconnect" => sub {
+ ok(my $r = Redis->new(reconnect => 2, server => $srv), 'connected to our test redis-server');
+
+ my $prev_sock = "$r->{sock}";
+ like(
+ exception { $r->set(bad => reconnect => 1) },
+- qr{ERR wrong number of arguments for 'set' command},
++ qr{ERR wrong number of arguments for 'set' command|\[set\] ERR syntax error},
+ 'Bad commands still die',
+ );
+ is("$r->{sock}", $prev_sock, "... and don't trigger a reconnect");
+--
+1.8.1.6
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f26dfdb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+redis-2.6.13.patch
--
Debian packaging of libredis-perl
More information about the Pkg-perl-cvs-commits
mailing list