openafs/doc/man-pages/check-pod
Jason Edgecombe dfb2961b67 man-page-fixes-20070819
More details on how to run check-pod.  Restore the [] markup in the vos
changeloc SYNOPSIS since the flags really are optional.
2007-08-19 23:02:27 +00:00

18 lines
450 B
Perl
Executable File

#!/usr/bin/perl
#
# Written by Jason Edgecombe based on the Test::Pod documentation. The
# best way to run it is to run:
#
# prove check-pod
#
# from the doc/man-pages directory, which will show any errors found in
# any of the POD files.
use strict;
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
my @poddirs = qw( pod1 pod5 pod8 );
all_pod_files_ok( all_pod_files( @poddirs ) );