summaryrefslogtreecommitdiffstats
path: root/t/pod-syntax.t
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-12-06 18:57:43 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-12-06 18:57:43 +0000
commit80e161c688db4fcb7d92d90d9dea25954dfcfab4 (patch)
treec62ecb17107f7f3bd0d26c77e114f5ea04a85229 /t/pod-syntax.t
parentd3b19a9fee4ed0d76be21bee54d6f2eae984fe32 (diff)
downloadurpmi-80e161c688db4fcb7d92d90d9dea25954dfcfab4.tar
urpmi-80e161c688db4fcb7d92d90d9dea25954dfcfab4.tar.gz
urpmi-80e161c688db4fcb7d92d90d9dea25954dfcfab4.tar.bz2
urpmi-80e161c688db4fcb7d92d90d9dea25954dfcfab4.tar.xz
urpmi-80e161c688db4fcb7d92d90d9dea25954dfcfab4.zip
oops, forgotten during previous commit
Diffstat (limited to 't/pod-syntax.t')
-rwxr-xr-xt/pod-syntax.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/pod-syntax.t b/t/pod-syntax.t
new file mode 100755
index 00000000..85a7158e
--- /dev/null
+++ b/t/pod-syntax.t
@@ -0,0 +1,18 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use English qw(-no_match_vars);
+use Test::More;
+
+plan(skip_all => 'Author test, set $ENV{TEST_AUTHOR} to a true value to run')
+ if !$ENV{TEST_AUTHOR};
+
+eval {
+ require Test::Pod;
+ Test::Pod->import();
+};
+plan(skip_all => 'Test::Pod required') if $EVAL_ERROR;
+
+all_pod_files_ok('urpm');