aboutsummaryrefslogtreecommitdiff
path: root/tests/docs/pod-t
blob: e25ade2cc11d5b213cc72b0172ca5145457a2156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/perl -w
#
# Test POD formatting for documentation.
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2008, 2010 Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.

use strict;
use Test::More;
eval 'use Test::Pod 1.00';
plan skip_all => 'Test::Pod 1.00 required for testing POD' if $@;

my @files = qw(client/wallet.pod client/wallet-rekey.pod server/keytab-backend
               server/wallet-admin server/wallet-backend
               server/wallet-report);
my $total = scalar (@files);
plan tests => $total;
for my $file (@files) {
    pod_file_ok ("$ENV{SOURCE}/../$file", $file);
}