diff options
author | Russ Allbery <rra@stanford.edu> | 2010-02-09 19:55:12 -0800 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2010-02-09 19:55:12 -0800 |
commit | ff2d5ac3c63af9833d884d4840c772e60e45da7d (patch) | |
tree | 3d72086a5dae6425699c444263b8abc9f16ade64 /tests/server/pod-t.in | |
parent | 99448954f4f9504796226bf05e76df22231d51ca (diff) |
Use the $SOURCE and $BUILD test suite variables
Now that runtests has been updated to a version that sets $SOURCE and
$BUILD, use that in the test cases rather than Autoconf substitutions.
Diffstat (limited to 'tests/server/pod-t.in')
-rw-r--r-- | tests/server/pod-t.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server/pod-t.in b/tests/server/pod-t.in index 4575ecb..52d81eb 100644 --- a/tests/server/pod-t.in +++ b/tests/server/pod-t.in @@ -1,9 +1,9 @@ #!/usr/bin/perl # -# tests/server/pod-t -- Test POD formatting for client documentation. +# Test POD formatting for client documentation. # # Written by Russ Allbery <rra@stanford.edu> -# Copyright 2008 Board of Trustees, Leland Stanford Jr. University +# Copyright 2008, 2010 Board of Trustees, Leland Stanford Jr. University # # See LICENSE for licensing terms. @@ -17,6 +17,6 @@ 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 ("@abs_top_srcdir@/server/$file", "server/$file"); + pod_file_ok ("$ENV{SOURCE}/../server/$file", "server/$file"); } } |