X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fwatch_maildir_v2.t;h=19a2da7707085b6d536472bd8fbf8525cfbd51d8;hb=0283273a14e1871955f6a9132f4f3f7884ec8a3f;hp=685cd6edc2644c50e276fd46ed2714d3f3b01575;hpb=a479b45117ed69d9311770fa39e6676d38f9cab2;p=public-inbox.git diff --git a/t/watch_maildir_v2.t b/t/watch_maildir_v2.t index 685cd6ed..19a2da77 100644 --- a/t/watch_maildir_v2.t +++ b/t/watch_maildir_v2.t @@ -2,10 +2,11 @@ # License: AGPL-3.0+ use strict; use Test::More; -use PublicInbox::MIME; +use PublicInbox::Eml; use Cwd; use PublicInbox::Config; use PublicInbox::TestCommon; +use PublicInbox::Import; require_git(2.6); require_mods(qw(Search::Xapian DBD::SQLite Filesys::Notify::Simple)); require PublicInbox::V2Writable; @@ -141,7 +142,7 @@ More majordomo info at http://vger.kernel.org/majordomo-info.html\n); my $v1repo = "$tmpdir/v1"; my $v1pfx = "publicinbox.v1"; my $v1addr = 'v1-public@example.com'; - is(system(qw(git init -q --bare), $v1repo), 0, 'v1 init OK'); + PublicInbox::Import::init_bare($v1repo); my $cfg2 = <