ports/textproc/p5-Pod-Parser/patches/patch-t_pod_find_t

15 lines
382 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
The .orig files from OpenBSD ports patches confuse this test.
Index: t/pod/find.t
--- t/pod/find.t.orig
+++ t/pod/find.t
@@ -31,7 +31,7 @@ if ($^O eq 'VMS') {
print "### 2. searching $lib_dir\n";
my %pods = pod_find($lib_dir);
-my @results = values %pods;
+my @results = grep { ! /\.orig\.port$/ } values %pods;
print "### found @results\n";
my @compare = qw(
Pod::Find