diff options
author | Eric Wong <e@80x24.org> | 2021-02-17 09:07:02 -0100 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-18 03:57:18 -0400 |
commit | 4ea3975dbed0a533cc71cd8c866096c54102a93b (patch) | |
tree | 03bbfca2a35098f5a413b170ddd242a6ef50ad27 | |
parent | 6c163ca32e21cc0b85792a6c3adbcd5ce19393a5 (diff) | |
download | public-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.
-rw-r--r-- | MANIFEST | 6 | ||||
-rw-r--r-- | lib/PublicInbox/TestCommon.pm | 4 | ||||
-rw-r--r-- | t/home2/.gitignore (renamed from t/home1/.gitignore) | 0 | ||||
-rw-r--r-- | t/home2/Makefile (renamed from t/home1/Makefile) | 0 | ||||
-rw-r--r-- | t/home2/README (renamed from t/home1/README) | 0 |
5 files changed, 5 insertions, 5 deletions
@@ -334,9 +334,9 @@ t/git.fast-import-data t/git.t t/gzip_filter.t t/hl_mod.t -t/home1/.gitignore -t/home1/Makefile -t/home1/README +t/home2/.gitignore +t/home2/Makefile +t/home2/README t/html_index.t t/httpd-corner.psgi t/httpd-corner.t 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"; } diff --git a/t/home1/.gitignore b/t/home2/.gitignore index b97d81e6..b97d81e6 100644 --- a/t/home1/.gitignore +++ b/t/home2/.gitignore diff --git a/t/home1/Makefile b/t/home2/Makefile index 9d4895dc..9d4895dc 100644 --- a/t/home1/Makefile +++ b/t/home2/Makefile diff --git a/t/home1/README b/t/home2/README index 1ba87891..1ba87891 100644 --- a/t/home1/README +++ b/t/home2/README |