From: Don Armstrong Date: Thu, 21 Mar 2013 22:08:40 +0000 (-0700) Subject: fix pod test to not look at editor temp files X-Git-Tag: release/2.6.0~280^2~11 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=876d0c2a281d0198ed392a5ba5a307e1b200b132 fix pod test to not look at editor temp files --- diff --git a/t/01_pod.t b/t/01_pod.t index 8fb590f..2f1d2df 100644 --- a/t/01_pod.t +++ b/t/01_pod.t @@ -2,4 +2,6 @@ use Test::More; eval "use Test::Pod 1.00"; plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; -all_pod_files_ok(all_pod_files('.')); +all_pod_files_ok(grep {$_ !~ /[~#]$/} all_pod_files((-e 'blib'?'blib':(qw(Debbugs Mail))), + (qw(bin cgi scripts)) + ));