* [PATCH 1/4] test_common: force IPv4 with pre-IPv6 Net::POP3
2023-09-24 21:08 5% [PATCH 0/4] various CentOS 7.x related fixes Eric Wong
@ 2023-09-24 21:08 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-09-24 21:08 UTC (permalink / raw)
To: meta
This fixes t/pop3d-limit.t with the Net::POP3 shipped with Perl v5.16.3
on CentOS 7.x
---
lib/PublicInbox/TestCommon.pm | 1 +
t/pop3d-limit.t | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm
index 28edee9f..1fdb5ebd 100644
--- a/lib/PublicInbox/TestCommon.pm
+++ b/lib/PublicInbox/TestCommon.pm
@@ -129,6 +129,7 @@ my %IPv6_VERSION = (
'Net::NNTP' => 3.00,
'Mail::IMAPClient' => 3.40,
'HTTP::Tiny' => 0.042,
+ 'Net::POP3' => 2.32,
);
sub require_mods {
diff --git a/t/pop3d-limit.t b/t/pop3d-limit.t
index 39d2f918..00da477d 100644
--- a/t/pop3d-limit.t
+++ b/t/pop3d-limit.t
@@ -75,7 +75,7 @@ my $login_d = ('d'x32)."\@$group?limit=100000";
my $login_d0 = ('d'x32)."\@$group.0?limit=100000";
for my $login ($login_a, $login_a0) {
- my $np3 = Net::POP3->new(@np3args);
+ my $np3 = Net::POP3->new(@np3args) or xbail "Net::POP3 $!";
$np3->login($login, 'anonymous') or xbail "login $login ($!)";
my @msg = $fetch_delete->($np3);
$np3->quit;
^ permalink raw reply related [relevance 7%]
* [PATCH 0/4] various CentOS 7.x related fixes
@ 2023-09-24 21:08 5% Eric Wong
2023-09-24 21:08 7% ` [PATCH 1/4] test_common: force IPv4 with pre-IPv6 Net::POP3 Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-09-24 21:08 UTC (permalink / raw)
To: meta
Still not sure how to best handle 3rd-party repos from
install/deps...
Eric Wong (4):
test_common: force IPv4 with pre-IPv6 Net::POP3
install/deps: fix RPM installation of some packages
lei: use scalar %SIG assignment
xap_helper.h: add missing headers and avoid reallocarray
install/deps.perl | 8 ++++++--
lib/PublicInbox/LEI.pm | 6 +++---
lib/PublicInbox/TestCommon.pm | 1 +
lib/PublicInbox/xap_helper.h | 7 +++++--
t/pop3d-limit.t | 2 +-
5 files changed, 16 insertions(+), 8 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-09-24 21:08 5% [PATCH 0/4] various CentOS 7.x related fixes Eric Wong
2023-09-24 21:08 7% ` [PATCH 1/4] test_common: force IPv4 with pre-IPv6 Net::POP3 Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).