- local $ENV{HOME} = $home;
- my $cmd = [ '-init', $group, $maindir, 'http://example.com/', $addr ];
- ok(run_script($cmd), 'init ran properly');
-
- # ensure successful message delivery
- {
- my $mime = PublicInbox::Eml->new(<<EOF);
+ create_inbox 'test', tmpdir => $inboxdir, sub {
+ my ($im, $ibx) = @_;
+ $im->add(PublicInbox::Eml->new(<<EOF)) or BAIL_OUT;