about summary refs log tree commit homepage
path: root/lib/PublicInbox/TestCommon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-17 09:07:02 -0100
committerEric Wong <e@80x24.org>2021-02-18 03:57:18 -0400
commit4ea3975dbed0a533cc71cd8c866096c54102a93b (patch)
tree03bbfca2a35098f5a413b170ddd242a6ef50ad27 /lib/PublicInbox/TestCommon.pm
parent6c163ca32e21cc0b85792a6c3adbcd5ce19393a5 (diff)
downloadpublic-inbox-4ea3975dbed0a533cc71cd8c866096c54102a93b.tar.gz
-imapd won't support newsgroups ending with /\.[0-9]+\z/ since
it reserves those for partitioning inboxes into 50K slices.
So bump the home[0-9]+ version and switch to IMAP-friendly
newsgroup names.
Diffstat (limited to 'lib/PublicInbox/TestCommon.pm')
-rw-r--r--lib/PublicInbox/TestCommon.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm
index d6b7d20e..c5070cfd 100644
--- a/lib/PublicInbox/TestCommon.pm
+++ b/lib/PublicInbox/TestCommon.pm
@@ -540,7 +540,7 @@ EOM
 # returns the pathname to a ~/.public-inbox/config in scalar context,
 # ($test_home, $pi_config_pathname) in list context
 sub setup_public_inboxes () {
-        my $test_home = "t/home1";
+        my $test_home = "t/home2";
         my $pi_config = "$test_home/.public-inbox/config";
         my $stamp = "$test_home/setup-stamp";
         my @ret = ($test_home, $pi_config);
@@ -555,7 +555,7 @@ sub setup_public_inboxes () {
         local $ENV{PI_CONFIG} = $pi_config;
         for my $V (1, 2) {
                 run_script([qw(-init), "-V$V", "t$V",
-                                '--newsgroup', "t.$V",
+                                '--newsgroup', "t.v$V",
                                 "$test_home/t$V", "http://example.com/t$V",
                                 "t$V\@example.com" ]) or BAIL_OUT "init v$V";
         }