]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/perf-nntpd.t
tests: move t/common.perl to PublicInbox::TestCommon
[public-inbox.git] / xt / perf-nntpd.t
index 5a176e08eeb01960b4fbfeba74900e8a6da69137..df5ecb412a14e00592ca8ac0ca8598182ea00878 100644 (file)
@@ -10,7 +10,7 @@ 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);