From 5d7f614e88bac459a693f1dcc91aad36ed3d00dd Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 9 Feb 2010 23:57:10 -0800 Subject: Reorganize main POD tests and add a spelling check Add a POD spelling test to the non-Perl-module part of the code and move the documentation tests into a separate directory. Merge the POD syntax tests between client and server into one test. Reformat all of the POD documentation to use 74 columns. Fix a few revealed spelling errors or weird wordings. --- tests/docs/pod-t | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tests/docs/pod-t (limited to 'tests/docs/pod-t') diff --git a/tests/docs/pod-t b/tests/docs/pod-t new file mode 100755 index 0000000..9b6c5d1 --- /dev/null +++ b/tests/docs/pod-t @@ -0,0 +1,21 @@ +#!/usr/bin/perl -w +# +# Test POD formatting for documentation. +# +# Written by Russ Allbery +# 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 server/keytab-backend server/wallet-admin + server/wallet-backend); +my $total = scalar (@files); +plan tests => $total; +for my $file (@files) { + pod_file_ok ("$ENV{SOURCE}/../$file", $file); +} -- cgit v1.2.3