[libconfig-model-itself-perl] 01/02: new patch to fix debci tests (Closes: #809294)

dod at debian.org dod at debian.org
Sun Jan 3 18:41:12 UTC 2016


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

dod pushed a commit to branch master
in repository libconfig-model-itself-perl.

commit dd8380135e517a871388fd0d6eb3feb139299d6a
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Jan 1 19:21:31 2016 +0100

    new patch to fix debci tests (Closes: #809294)
---
 debian/patches/fix-debci-test | 18 ++++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/fix-debci-test b/debian/patches/fix-debci-test
new file mode 100644
index 0000000..4973dfd
--- /dev/null
+++ b/debian/patches/fix-debci-test
@@ -0,0 +1,18 @@
+Description: Fix debci test
+ fix test failure under debian ci
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809294
+Author: Dominique Dumont <dod at debian.org>
+Applied-Upstream: yes
+--- a/t/load_write_itself.t
++++ b/t/load_write_itself.t
+@@ -55,7 +55,9 @@
+     -d $File::Find::name && mkpath( ["$wr_test/$_"], 0, 0755) ;
+     -f $File::Find::name && copy($File::Find::name,"$wr_test/$_") ;
+ };
+-find ({ wanted =>$wanted, no_chdir=>1} , $model_dir ) ;
++# start copy *below* models.
++# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809294
++find ({ wanted => $wanted, no_chdir => 1} , $model_dir.'/models' ) ;
+ 
+ my $rw_obj    = Config::Model::Itself->new(
+     cm_lib_dir  => "$wr_test/$model_dir",
diff --git a/debian/patches/series b/debian/patches/series
index b748379..4684191 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-debci-test
 remove-call-to-env
 autopkgtest.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-itself-perl.git



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