diff options
author | Russ Allbery <rra@stanford.edu> | 2010-02-09 21:01:33 -0800 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2010-02-09 21:01:33 -0800 |
commit | a556c732806da87d06bb787565e12240ea39b553 (patch) | |
tree | 960b3a5e8fc32b4cb5399d56d20a3db077ef86b8 /tests/server/pod-t | |
parent | ff2d5ac3c63af9833d884d4840c772e60e45da7d (diff) |
Stop doing Autoconf substitution on some test suite code
Anything that only was using substitution for the paths to the build
tree now uses $SOURCE and $BUILD instead. Stop doing substitution.
Also fix tests/data/cmd-wrapper to use the environment variables.
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"); + } +} |