about summary refs log tree commit homepage
path: root/t/perf-nntpd.t
diff options
context:
space:
mode:
Diffstat (limited to 't/perf-nntpd.t')
-rw-r--r--t/perf-nntpd.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/perf-nntpd.t b/t/perf-nntpd.t
index f272e18a..7abf2249 100644
--- a/t/perf-nntpd.t
+++ b/t/perf-nntpd.t
@@ -27,7 +27,7 @@ if (($ENV{NNTP_TEST_URL} || '') =~ m!\Anntp://([^/]+)/([^/]+)\z!) {
         $host_port .= ":119" unless index($host_port, ':') > 0;
 } else {
         $group = 'inbox.test.perf.nntpd';
-        my $ibx = { mainrepo => $pi_dir, newsgroup => $group };
+        my $ibx = { inboxdir => $pi_dir, newsgroup => $group };
         $ibx = PublicInbox::Inbox->new($ibx);
         my $nntpd = 'blib/script/public-inbox-nntpd';
         my $tmpdir = tempdir('perf-nntpd-XXXXXX', TMPDIR => 1, CLEANUP => 1);
@@ -38,7 +38,7 @@ if (($ENV{NNTP_TEST_URL} || '') =~ m!\Anntp://([^/]+)/([^/]+)\z!) {
                 print $fh <<"" or die "print $pi_config: $!";
 [publicinbox "test"]
         newsgroup = $group
-        mainrepo = $pi_dir
+        inboxdir = $pi_dir
         address = test\@example.com
 
                 close $fh or die "close($pi_config): $!";