]> err.no Git - dpkg/commitdiff
000_pod.t: Add POD syntax checking
authorFrank Lichtenheld <djpig@debian.org>
Thu, 27 Sep 2007 17:06:49 +0000 (19:06 +0200)
committerFrank Lichtenheld <djpig@debian.org>
Thu, 27 Sep 2007 17:10:41 +0000 (19:10 +0200)
Standard Test::Pod testing.

scripts/Makefile.am
scripts/t/000_pod.t [new file with mode: 0644]

index 4d1d97d6d6a0cd367466644d5f08bc7dd128b7ec..d3793f6f710a5c3e44e7e0e3619e32abaebef11c 100644 (file)
@@ -50,6 +50,7 @@ EXTRA_DIST = \
        install-info.pl \
        update-alternatives.pl \
        changelog/debian.pl \
+       t/000_pod.t \
        t/100_Dpkg_Version.t \
        t/200_Dpkg_Shlibs.t \
        t/200_Dpkg_Shlibs/symbols.fake-1 \
diff --git a/scripts/t/000_pod.t b/scripts/t/000_pod.t
new file mode 100644 (file)
index 0000000..dc00063
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cperl;-*-
+
+use Test::More;
+
+use strict;
+use warnings;
+
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+my @poddirs = ( $ENV{srcdir} || '.' );
+all_pod_files_ok( all_pod_files( @poddirs ) );