[SCM] Debian packaging of libconfig-auto-perl branch, master, updated. debian/0.38-1-6-g2e8c261

Salvatore Bonaccorso carnil at debian.org
Tue Feb 7 07:56:18 UTC 2012


The following commit has been merged in the master branch:
commit 9a7dc7300fa183b1d5781cdd68830e9ea1fbf9ba
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Tue Feb 7 08:35:07 2012 +0100

    Add test-file-for-06_const_it.t-test.patch patch
    
    Change test file to a file which should be available even in buildd
    chroots (/etc/dpkg/dpkg.cfg).

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6040726
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-file-for-06_const_it.t-test.patch
diff --git a/debian/patches/test-file-for-06_const_it.t-test.patch b/debian/patches/test-file-for-06_const_it.t-test.patch
new file mode 100644
index 0000000..f6ab3d1
--- /dev/null
+++ b/debian/patches/test-file-for-06_const_it.t-test.patch
@@ -0,0 +1,20 @@
+Description: the test uses /etc/fstab. But on chroots during build
+ this file might e.g. only contain a comment line causing a FTBFS.
+ The test file is changed to be /etc/dpkg/dpkg.cfg which should be
+ available even on buildd's.
+Origin: vendor
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2012-02-07
+
+--- a/t/06_const_it.t
++++ b/t/06_const_it.t
+@@ -5,7 +5,7 @@
+ 
+ use Config::Auto;
+ 
+-my $test_file = "/etc/fstab"; # A file found on any Unix/Linux machine.
++my $test_file = "/etc/dpkg/dpkg.cfg";
+ 
+ SKIP: {
+     skip "Can't test: $test_file doesn't exist on this system."

-- 
Debian packaging of libconfig-auto-perl



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