[libsys-filesystem-perl] 01/03: Patch the test suite not to fail on build hosts with no regular file systems

Niko Tyni ntyni at moszumanska.debian.org
Tue Oct 13 18:44:00 UTC 2015


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

ntyni pushed a commit to branch master
in repository libsys-filesystem-perl.

commit 8b72c2b6160d2357ae9d9ee1703b41e4c2b45334
Author: Niko Tyni <ntyni at debian.org>
Date:   Tue Oct 13 21:30:19 2015 +0300

    Patch the test suite not to fail on build hosts with no regular file systems
    
    Virtual build systems and chroots, in particular pbuilder-based
    ones, may well have only special filesystems visible.
    
    Closes: #801675
---
 ...st-suite-not-fail-on-build-hosts-with-no-.patch | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/0001-Make-the-test-suite-not-fail-on-build-hosts-with-no-.patch b/debian/patches/0001-Make-the-test-suite-not-fail-on-build-hosts-with-no-.patch
new file mode 100644
index 0000000..21df71d
--- /dev/null
+++ b/debian/patches/0001-Make-the-test-suite-not-fail-on-build-hosts-with-no-.patch
@@ -0,0 +1,30 @@
+From c5654be89c15af971ba104a9b723f0ed73a8f9e8 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Tue, 13 Oct 2015 21:30:19 +0300
+Subject: [PATCH] Make the test suite not fail on build hosts with no regular
+ file systems
+
+Virtual build systems and chroots, in particular pbuilder-based
+ones, may well have only special filesystems visible.
+
+Bug-Debian: https://bugs.debian.org/801675
+---
+ t/02_basic.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/02_basic.t b/t/02_basic.t
+index c43fd06..931664e 100644
+--- a/t/02_basic.t
++++ b/t/02_basic.t
+@@ -23,7 +23,7 @@ my @special_filesystems   = $fs->special_filesystems();
+ 
+ my @regular_filesystems = $fs->regular_filesystems();
+ 
+-ok( @regular_filesystems, 'Get list of regular filesystems' );
++ok( @regular_filesystems + @special_filesystems, 'Get list of regular and special filesystems' );
+ ok( @filesystems,         'Get list of all filesystems' );
+ 
+ diag( join( ' - ', qw(filesystem mounted special device options format volume label type) ) );
+-- 
+2.5.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..354f18b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Make-the-test-suite-not-fail-on-build-hosts-with-no-.patch

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



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