[libdbd-pg-perl] 01/02: Add 0001-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch patch

Salvatore Bonaccorso carnil at debian.org
Thu Sep 26 19:07:50 UTC 2013


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

carnil pushed a commit to branch master
in repository libdbd-pg-perl.

commit 2237edd8bd35753953abeafd5ec06609d3e83dbc
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Sep 26 21:02:48 2013 +0200

    Add 0001-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch patch
    
    Fix "FTBFS: Failed test 'DB handle attribute "PrintWarn" shows warnings
    when on'".
    
    Closes: #723928
---
 ...for-the-PrintWarn-test-as-Postgres-got-le.patch |   21 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0001-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch b/debian/patches/0001-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch
new file mode 100644
index 0000000..ffe0607
--- /dev/null
+++ b/debian/patches/0001-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch
@@ -0,0 +1,21 @@
+Description: Use DEBUG1 for the PrintWarn test, as Postgres got less chatty in 9.3
+ Fixes FTBFS due test failures in t/02attribs.t tests
+Origin: upstream, commit:accf9a11bab7de2d11a36bdaa01e2e438dd33104
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=88865
+Bug-Debian: http://bugs.debian.org/723928
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2013-09-26
+
+diff --git a/t/02attribs.t b/t/02attribs.t
+index e98add9..197d962 100644
+--- a/t/02attribs.t
++++ b/t/02attribs.t
+@@ -251,7 +251,7 @@ is ($value, 1, $t);
+ 
+ local $SIG{__WARN__} = sub { $warning = shift; };
+ 
+-$dbh->do(q{SET client_min_messages = 'NOTICE'});
++$dbh->do(q{SET client_min_messages = 'DEBUG1'});
+ $t='DB handle attribute "PrintWarn" works when on';
+ $warning = q{};
+ eval {
diff --git a/debian/patches/series b/debian/patches/series
index d4b290f..3b68690 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 pod-spelling.patch
 testdir.patch
+0001-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbd-pg-perl.git



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