[libconfig-model-openssh-perl] 03/05: Add patch test-failure.patch.
gregor herrmann
gregoa at debian.org
Sun Aug 25 14:51:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libconfig-model-openssh-perl.
commit ad6b4927216b70862d0349ac439ce2bdbed9dbd8
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Aug 25 16:49:25 2013 +0200
Add patch test-failure.patch.
Fix test failure caused by undefined variable.
---
debian/patches/series | 1 +
debian/patches/test-failure.patch | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..220f3cc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-failure.patch
diff --git a/debian/patches/test-failure.patch b/debian/patches/test-failure.patch
new file mode 100644
index 0000000..c1ee754
--- /dev/null
+++ b/debian/patches/test-failure.patch
@@ -0,0 +1,18 @@
+Description: suppress warning that leads to test failure:
+ # found warning: Use of uninitialized value $args{"file_path"} in concatenation (.) or string at /tmp/buildd/libconfig-model-openssh-perl-1.228/blib/lib/Config/Model/Backend/OpenSsh.pm line 49.
+ # found warning: Use of uninitialized value $args{"file_path"} in concatenation (.) or string at /tmp/buildd/libconfig-model-openssh-perl-1.228/blib/lib/Config/Model/Backend/OpenSsh.pm line 53.
+ # didn't expect to find a warning
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-08-25
+
+--- a/t/model_tests.t
++++ b/t/model_tests.t
+@@ -8,6 +8,6 @@
+
+ my $arg = shift || '';
+ my $test_only_model = shift || '';
+-my $do = shift ;
++my $do = shift || '';
+
+ run_tests($arg, $test_only_model, $do) ;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-openssh-perl.git
More information about the Pkg-perl-cvs-commits
mailing list