]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/multi-mid.t
testcommon: spawn-aware system() and qx[] workalikes
[public-inbox.git] / t / multi-mid.t
index 87240c2c44855d9eed03219c00d879d476054cd0..5afb96933209d3e5f7e306f073a4764e9ba26f4a 100644 (file)
@@ -65,9 +65,9 @@ for my $order ([$bad, $good], [$good, $bad]) {
        my @v2 = ($ibx->over->get_art(1), $ibx->over->get_art(2));
        is_deeply(\@v2, \@old, 'v2 conversion times match');
 
-       system(qw(git clone -sq --mirror), "$tmpdir/v2/git/0.git",
+       xsys(qw(git clone -sq --mirror), "$tmpdir/v2/git/0.git",
                "$tmpdir/v2-clone/git/0.git") == 0 or die "clone: $?";
-       $cmd = [ '-init', '-V2', 'v2c', "$tmpdir/v2-clone",
+       $cmd = [ '-init', '-Lbasic', '-V2', 'v2c', "$tmpdir/v2-clone",
                'http://example.com/v2c', 'v2c@example.com' ];
        ok(run_script($cmd, $env), 'init clone');
        $cmd = [ '-index', "$tmpdir/v2-clone" ];