-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.
t/git.t
t/gzip_filter.t
t/hl_mod.t
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
t/html_index.t
t/httpd-corner.psgi
t/httpd-corner.t
# returns the pathname to a ~/.public-inbox/config in scalar context,
# ($test_home, $pi_config_pathname) in list context
sub setup_public_inboxes () {
# 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);
my $pi_config = "$test_home/.public-inbox/config";
my $stamp = "$test_home/setup-stamp";
my @ret = ($test_home, $pi_config);
local $ENV{PI_CONFIG} = $pi_config;
for my $V (1, 2) {
run_script([qw(-init), "-V$V", "t$V",
local $ENV{PI_CONFIG} = $pi_config;
for my $V (1, 2) {
run_script([qw(-init), "-V$V", "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";
}
"$test_home/t$V", "http://example.com/t$V",
"t$V\@example.com" ]) or BAIL_OUT "init v$V";
}