The following commit has been merged in the master branch:
commit 0535fac53f385a866946e978fd35a10185d162fc
Author: Guillem Jover <[email protected]>
Date:   Sat Jul 10 09:12:39 2010 +0200

    build: Skip all dpkg-divert tests if the binary is not available

diff --git a/scripts/t/950_dpkg_divert.t b/scripts/t/950_dpkg_divert.t
index bff9e1e..8d7b58d 100644
--- a/scripts/t/950_dpkg_divert.t
+++ b/scripts/t/950_dpkg_divert.t
@@ -28,6 +28,11 @@ my $testdir = File::Spec->rel2abs("$tmpdir/testdir");
 
 my @dd = ("$builddir/../src/dpkg-divert");
 
+if (! -x "@dd") {
+    plan skip_all => "dpkg-divert not available";
+    exit(0);
+}
+
 plan tests => 235;
 
 sub cleanup {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to