summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2018-04-19 17:55:30 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2018-04-19 17:55:30 +0200
commiteeba4e1a2d972c3c2159b9a0df37dcf3c95d5c89 (patch)
tree9e1f75bc5211ec6145c6c826a2fce6f1d6d2c60c
parent6235e84a41d055b438a5086c6f8f1ec305327829 (diff)
downloadperl-eeba4e1a2d972c3c2159b9a0df37dcf3c95d5c89.tar.gz
Allow MANIFEST.SKIP in dual-life modules where p5p prevails
-rw-r--r--t/porting/manifest.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/porting/manifest.t b/t/porting/manifest.t
index 7adb06198d..a51eed2798 100644
--- a/t/porting/manifest.t
+++ b/t/porting/manifest.t
@@ -86,7 +86,11 @@ SKIP: {
SKIP: {
find_git_or_skip(6);
my %seen; # De-dup ls-files output (can appear more than once)
- chomp(my @repo= grep { !/\.gitignore$/ && !$seen{$_}++ } `git ls-files`);
+ chomp(my @repo= grep {
+ !m{\.gitignore$} &&
+ !m{(?<!lib/ExtUtils/)MANIFEST\.SKIP$} &&
+ !$seen{$_}++
+ } `git ls-files`);
skip("git ls-files didnt work",3)
if !@repo;
is( 0+@repo, 0+@files, "git ls-files gives the same number of files as MANIFEST lists");