#!/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; eval { require Test::Pod::Spelling::CommonMistakes; Test::Pod::Spelling::CommonMistakes->import(); }; plan(skip_all => 'Test::Pod::Spelling::CommonMistakes required') if $EVAL_ERROR; all_pod_files_ok(all_pod_files('urpm'));