[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/02: t: Test the POD for frontend manpages as well



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

nthykier pushed a commit to branch master
in repository lintian.

commit 19b5e49929b668550bfdabd046806e987253469c
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Aug 26 08:04:41 2013 +0200

    t: Test the POD for frontend manpages as well
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 t/scripts/pod.t |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/t/scripts/pod.t b/t/scripts/pod.t
index c09dcd5..6990e5c 100755
--- a/t/scripts/pod.t
+++ b/t/scripts/pod.t
@@ -9,10 +9,10 @@ use Test::More;
 eval 'use Test::Pod 1.00';
 plan skip_all => 'Test::Pod 1.00 required for testing POD' if $@;
 
-$ENV{'LINTIAN_ROOT'} //= '.';
+my $dir = $ENV{'LINTIAN_ROOT'} // '.';
 
-all_pod_files_ok(
-    all_pod_files(
-        "$ENV{LINTIAN_ROOT}/lib","$ENV{'LINTIAN_ROOT'}/doc/tutorial"
-    ));
+my @POD_FILES = all_pod_files("$dir/lib", "$dir/doc/tutorial");
+push(@POD_FILES, map { "$dir/man/$_" } 'lintian-info.pod', 'lintian.pod.in');
+
+all_pod_files_ok(@POD_FILES);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: