about summary refs log tree commit homepage
path: root/t/solver_git.t
diff options
context:
space:
mode:
Diffstat (limited to 't/solver_git.t')
-rw-r--r--t/solver_git.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/solver_git.t b/t/solver_git.t
index 7f0cd999..b5231d2c 100644
--- a/t/solver_git.t
+++ b/t/solver_git.t
@@ -109,7 +109,8 @@ SKIP: {
         require_mods(@psgi, 7 + scalar(@psgi));
         use_ok($_) for @psgi;
         my $binfoo = "$inboxdir/binfoo.git";
-        system(qw(git init --bare -q), $binfoo) == 0 or die "git init: $?";
+        require PublicInbox::Import;
+        PublicInbox::Import::init_bare($binfoo);
         require_ok 'PublicInbox::ViewVCS';
         my $big_size = do {
                 no warnings 'once';