about summary refs log tree commit homepage
path: root/xt/mem-imapd-tls.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-28 00:17:25 +0000
committerEric Wong <e@80x24.org>2021-03-28 02:43:54 +0000
commit29792d70a5d8305f68521664a7fa2e0fe54ff291 (patch)
tree441c0aafeef6cf9639360308371846cdaf003528 /xt/mem-imapd-tls.t
parentba6f3d8379fb9ee8d0f18e3e0d6d77386daf79c9 (diff)
downloadpublic-inbox-29792d70a5d8305f68521664a7fa2e0fe54ff291.tar.gz
This makes it easier to manage test dependencies on systems
where optional stuff isn't installed.  This fixes some lei tests
which didn't check for Plack before starting -httpd, and ensures
Parse::RecDescent is available for -imapd in case
Mail::IMAPClient stops using it.
Diffstat (limited to 'xt/mem-imapd-tls.t')
-rw-r--r--xt/mem-imapd-tls.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/xt/mem-imapd-tls.t b/xt/mem-imapd-tls.t
index 99d8cb0d..bd75ef45 100644
--- a/xt/mem-imapd-tls.t
+++ b/xt/mem-imapd-tls.t
@@ -4,13 +4,12 @@
 # Idle client memory usage test, particularly after EXAMINE when
 # Message Sequence Numbers are loaded
 use strict;
-use Test::More;
+use v5.10.1;
 use Socket qw(SOCK_STREAM IPPROTO_TCP SOL_SOCKET);
 use PublicInbox::TestCommon;
 use PublicInbox::Syscall qw(:epoll);
 use PublicInbox::DS;
-require_mods(qw(DBD::SQLite Email::Address::XS||Mail::Address
-        Parse::RecDescent));
+require_mods(qw(-imapd));
 my $inboxdir = $ENV{GIANT_INBOX_DIR};
 my $TEST_TLS;
 SKIP: {