diff options
author | Eric Wong <e@80x24.org> | 2016-05-28 01:57:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-28 01:57:39 +0000 |
commit | 528230a0411897a14cbb79d0dae02ea89827bf1e (patch) | |
tree | ae71b388a84c8a8526b1908e77b00cb57d2cd340 /t/nntpd.t | |
parent | 666b537fb9d3984370d75f16eae43c2ced752963 (diff) | |
download | public-inbox-528230a0411897a14cbb79d0dae02ea89827bf1e.tar.gz |
Most of its functionality is in the PublicInbox::Inbox class. While we're at it, we no longer auto-create newsgroup names based on the inbox name, since newsgroup names probably deserve some thought when it comes to hierarchy.
Diffstat (limited to 't/nntpd.t')
-rw-r--r-- | t/nntpd.t | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,7 +24,6 @@ my $out = "$tmpdir/stdout.log"; my $maindir = "$tmpdir/main.git"; my $group = 'test-nntpd'; my $addr = $group . '@example.com'; -my $cfgpfx = "publicinbox.$group"; my $nntpd = 'blib/script/public-inbox-nntpd'; my $init = 'blib/script/public-inbox-init'; use_ok 'PublicInbox::Import'; @@ -44,6 +43,9 @@ END { kill 'TERM', $pid if defined $pid }; { local $ENV{HOME} = $home; system($init, $group, $maindir, 'http://example.com/', $addr); + is(system(qw(git config), "--file=$home/.public-inbox/config", + "publicinbox.$group.newsgroup", $group), + 0, 'enabled newsgroup'); my $len; # ensure successful message delivery |