summaryrefslogtreecommitdiff
path: root/perl/t/pod.t
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-21 17:45:56 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-21 17:45:56 -0800
commitae14bea1375dd5923d4a73e167b27bee13feb7b7 (patch)
treec1222395732cf8ce2cca32f013f080d19736f474 /perl/t/pod.t
parent57aba51dc26ebf0bdd034f6cb418a9ea5f1fc0be (diff)
parent60210334fa3dbd5dd168199063c6ee850d750d0c (diff)
Merge commit 'upstream/0.10' into debian
Diffstat (limited to 'perl/t/pod.t')
-rwxr-xr-xperl/t/pod.t15
1 files changed, 6 insertions, 9 deletions
diff --git a/perl/t/pod.t b/perl/t/pod.t
index da4d0d3..c467b82 100755
--- a/perl/t/pod.t
+++ b/perl/t/pod.t
@@ -1,17 +1,14 @@
-#!/usr/bin/perl
-# $Id$
+#!/usr/bin/perl -w
#
-# t/pod.t -- Test POD formatting for the wallet Perl modules.
+# Test POD formatting for the wallet Perl modules.
#
# Written by Russ Allbery <rra@stanford.edu>
-# Copyright 2007 Board of Trustees, Leland Stanford Jr. University
+# Copyright 2007, 2010 Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.
+use strict;
+use Test::More;
eval 'use Test::Pod 1.00';
-if ($@) {
- print "1..1\n";
- print "ok 1 # skip - Test::Pod 1.00 required for testing POD\n";
- exit;
-}
+plan skip_all => 'Test::Pod 1.00 required for testing POD' if $@;
all_pod_files_ok ();