about summary refs log tree commit homepage
path: root/t/imapd.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-14 00:25:03 +0000
committerEric Wong <e@yhbt.net>2020-06-15 06:07:52 +0000
commit4042599799a3706d1b1c0589675b07cab610505a (patch)
treeca8cbd49ecbf6dd11ca4fd20e9fa275ec62a3886 /t/imapd.t
parentfc6c7191daf71b8b1f6b45638ffcb1c6b2057636 (diff)
downloadpublic-inbox-4042599799a3706d1b1c0589675b07cab610505a.tar.gz
IMAP requires either the Email::Address::XS or Mail::Address
package (part of perl-MailTools RPM or libmailtools-perl deb);
and Email::Address::XS is not officially packaged for some older
distros, most notably CentOS 7.x.
Diffstat (limited to 't/imapd.t')
-rw-r--r--t/imapd.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/imapd.t b/t/imapd.t
index f5ca8b7e..0f48e905 100644
--- a/t/imapd.t
+++ b/t/imapd.t
@@ -8,7 +8,8 @@ use Time::HiRes ();
 use PublicInbox::TestCommon;
 use PublicInbox::Config;
 use PublicInbox::Spawn qw(which);
-require_mods(qw(DBD::SQLite Mail::IMAPClient Mail::IMAPClient::BodyStructure));
+require_mods(qw(DBD::SQLite Mail::IMAPClient Mail::IMAPClient::BodyStructure
+        Email::Address::XS||Mail::Address));
 my $imap_client = 'Mail::IMAPClient';
 my $can_compress = $imap_client->can('compress');
 if ($can_compress) { # hope this gets fixed upstream, soon