X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fwatch_maildir_v2.t;fp=t%2Fwatch_maildir_v2.t;h=dd5030ea0e89bfc4c0311f03e42212c43bfa8763;hb=d55abcc42bde846d9047491125dd2b32645dafd8;hp=685cd6edc2644c50e276fd46ed2714d3f3b01575;hpb=b3a04ae18a42ed960c89cc81c209633da6976380;p=public-inbox.git diff --git a/t/watch_maildir_v2.t b/t/watch_maildir_v2.t index 685cd6ed..dd5030ea 100644 --- a/t/watch_maildir_v2.t +++ b/t/watch_maildir_v2.t @@ -6,6 +6,7 @@ use PublicInbox::MIME; 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 = <