From 6046b06b171325668b266d9af9695634afd0c543 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 11 Dec 2019 18:56:10 -0500 Subject: [PATCH] Tests: Fix no-email contributors. --- test_regress/t/t_dist_contributors.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_regress/t/t_dist_contributors.pl b/test_regress/t/t_dist_contributors.pl index e2aa1fa49..e8a092dd3 100755 --- a/test_regress/t/t_dist_contributors.pl +++ b/test_regress/t/t_dist_contributors.pl @@ -46,7 +46,7 @@ sub read_contributors { # Assumes git .mailmap format while (my $line = ($fh && $fh->getline)) { while ($line =~ /(.*)/g) { - $line =~ s/ *<[^>]+>//; + $line =~ s/ *<[^>]*>//; $Contributors{$1} = 1; } } @@ -73,7 +73,7 @@ sub read_authors { # Check recent commits in case did commit my $git_auths = `git log '--pretty=format:%aN <%aE>' | head -20`; foreach my $line (split /\n/, $git_auths) { - $line =~ s/ *<[^>]+>//; + $line =~ s/ *<[^>]*>//; $Authors{$line} = 1; } }