about summary refs log tree commit homepage
path: root/t/import.t
diff options
context:
space:
mode:
Diffstat (limited to 't/import.t')
-rw-r--r--t/import.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/import.t b/t/import.t
index 703aa362..79af9846 100644
--- a/t/import.t
+++ b/t/import.t
@@ -12,10 +12,9 @@ use File::Temp qw/tempfile/;
 use PublicInbox::TestCommon;
 my ($dir, $for_destroy) = tmpdir();
 
-is(system(qw(git init -q --bare), $dir), 0, 'git init successful');
 my $git = PublicInbox::Git->new($dir);
-
 my $im = PublicInbox::Import->new($git, 'testbox', 'test@example');
+$im->init_bare;
 my $mime = PublicInbox::MIME->create(
         header => [
                 From => 'a@example.com',