X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fgit_async_cmp.t;h=a7a94c2debc3810ffe295e2910c6a7af6d6389a5;hb=2958cd17d58c79c952afae6cfd594595ffcaf4fa;hp=46d27b26bed57de872b21dd0de361d55fea860d9;hpb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;p=public-inbox.git
diff --git a/xt/git_async_cmp.t b/xt/git_async_cmp.t
index 46d27b26..a7a94c2d 100644
--- a/xt/git_async_cmp.t
+++ b/xt/git_async_cmp.t
@@ -1,5 +1,5 @@
#!perl -w
-# Copyright (C) 2019-2020 all contributors
+# Copyright (C) 2019-2021 all contributors
# License: AGPL-3.0+
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(/ /);