diff options
Diffstat (limited to 'tests/server/pod-t')
-rwxr-xr-x | tests/server/pod-t | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/server/pod-t b/tests/server/pod-t new file mode 100755 index 0000000..52d81eb --- /dev/null +++ b/tests/server/pod-t @@ -0,0 +1,22 @@ +#!/usr/bin/perl +# +# Test POD formatting for client documentation. +# +# Written by Russ Allbery <rra@stanford.edu> +# Copyright 2008, 2010 Board of Trustees, Leland Stanford Jr. University +# +# See LICENSE for licensing terms. + +use Test::More; + +my @files = qw(keytab-backend wallet-admin wallet-backend); +my $total = scalar (@files); +plan tests => $total; + +eval 'use Test::Pod 1.00'; +SKIP: { + skip 'Test::Pod 1.00 required for testing POD', $total if $@; + for my $file (@files) { + pod_file_ok ("$ENV{SOURCE}/../server/$file", "server/$file"); + } +} |