X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fperf-nntpd.t;h=f73afacc75ea27bb896d132033c5d067a829ddc5;hb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;hp=5a176e08eeb01960b4fbfeba74900e8a6da69137;hpb=28caef46cadc34c53e33994597de28f8e05552c0;p=public-inbox.git diff --git a/xt/perf-nntpd.t b/xt/perf-nntpd.t index 5a176e08..f73afacc 100644 --- a/xt/perf-nntpd.t +++ b/xt/perf-nntpd.t @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2019 all contributors +# Copyright (C) 2018-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; @@ -8,9 +8,8 @@ use PublicInbox::Inbox; use Net::NNTP; my $inboxdir = $ENV{GIANT_INBOX_DIR} // $ENV{GIANT_PI_DIR}; plan skip_all => "GIANT_INBOX_DIR not defined for $0" unless defined($inboxdir); -eval { require PublicInbox::Search }; my ($host_port, $group, %opts, $s, $td, $tmp_obj); -require './t/common.perl'; +use PublicInbox::TestCommon; if (($ENV{NNTP_TEST_URL} || '') =~ m!\Anntp://([^/]+)/([^/]+)\z!) { ($host_port, $group) = ($1, $2);