From a556c732806da87d06bb787565e12240ea39b553 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 9 Feb 2010 21:01:33 -0800 Subject: 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. --- tests/client/pod-t | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tests/client/pod-t (limited to 'tests/client/pod-t') diff --git a/tests/client/pod-t b/tests/client/pod-t new file mode 100755 index 0000000..9963567 --- /dev/null +++ b/tests/client/pod-t @@ -0,0 +1,22 @@ +#!/usr/bin/perl +# +# Test POD formatting for client documentation. +# +# Written by Russ Allbery +# Copyright 2008, 2010 Board of Trustees, Leland Stanford Jr. University +# +# See LICENSE for licensing terms. + +use Test::More; + +my @files = qw(wallet.pod); +my $total = scalar (@files); +plan tests => $total; + +eval 'use Test::Pod 1.00'; +SKIP: { + skip $total, 'Test::Pod 1.00 required for testing POD' if $@; + for my $file (@files) { + pod_file_ok ("$ENV{SOURCE}/../client/$file", "client/$file"); + } +} -- cgit v1.2.3