about summary refs log tree commit homepage
path: root/t/psgi_attach.t
diff options
context:
space:
mode:
Diffstat (limited to 't/psgi_attach.t')
-rw-r--r--t/psgi_attach.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/psgi_attach.t b/t/psgi_attach.t
index 297e92e1..a47f3754 100644
--- a/t/psgi_attach.t
+++ b/t/psgi_attach.t
@@ -21,9 +21,9 @@ my $config = PublicInbox::Config->new(\<<EOF);
 $cfgpfx.address=$addr
 $cfgpfx.inboxdir=$maindir
 EOF
-is(0, system(qw(git init -q --bare), $maindir), "git init (main)");
 my $git = PublicInbox::Git->new($maindir);
 my $im = PublicInbox::Import->new($git, 'test', $addr);
+$im->init_bare;
 
 {
         open my $fh, '<', '/dev/urandom' or die "unable to open urandom: $!\n";