]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/git_async_cmp.t
update copyrights for 2021
[public-inbox.git] / xt / git_async_cmp.t
index 18fce3dbe83df274e6bc4e7bc11e8a226d8d59ff..a7a94c2debc3810ffe295e2910c6a7af6d6389a5 100644 (file)
@@ -1,5 +1,5 @@
 #!perl -w
-# Copyright (C) 2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use Test::More;
@@ -18,6 +18,7 @@ if (require_git(2.19, 1)) {
 }
 my @dig;
 my $nr = $ENV{NR} || 1;
+diag "NR=$nr";
 my $async = timeit($nr, sub {
        my $dig = Digest::SHA->new(1);
        my $cb = sub {
@@ -25,7 +26,6 @@ my $async = timeit($nr, sub {
                $dig->add($$bref);
        };
        my $cat = $git->popen(@cat);
-       $git->cat_async_begin;
 
        while (<$cat>) {
                my ($oid, undef, undef) = split(/ /);