X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fextindex-psgi.t;h=d47616417a525b5b48a468141d8e03a25863c0d5;hb=d7780e12856d83b9f5c58586691e2fbe711321ed;hp=b9acc9793292b6d3b7a7189853c01b75af186279;hpb=9a157ecd55d759418b30a81769eaa05ea8b7e5d5;p=public-inbox.git diff --git a/t/extindex-psgi.t b/t/extindex-psgi.t index b9acc979..d4761641 100644 --- a/t/extindex-psgi.t +++ b/t/extindex-psgi.t @@ -52,6 +52,9 @@ my $client = sub { my $cfg = PublicInbox::Config->git_config_dump($f); is($?, 0, 'no errors from git-config parsing'); ok($cfg->{'extindex.all.topdir'}, 'extindex.topdir defined'); + + $res = $cb->(GET('/all/all.mbox.gz')); + is($res->code, 200, 'all.mbox.gz'); }; test_psgi(sub { $www->call(@_) }, $client); %$env = (%$env, TMPDIR => $tmpdir, PI_CONFIG => $pi_config);