X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Feml_check_limits.t;h=536a25f159bd592b36828db19143f62d799c1f2d;hb=757652fd1ad6843c984610263a2a0b336c974111;hp=39de047645b378de92d4d0d706790fe857323714;hpb=cd8cda10c9687533949a8a358fd7b858f704da6e;p=public-inbox.git
diff --git a/xt/eml_check_limits.t b/xt/eml_check_limits.t
index 39de0476..536a25f1 100644
--- a/xt/eml_check_limits.t
+++ b/xt/eml_check_limits.t
@@ -1,6 +1,8 @@
#!perl -w
-# Copyright (C) 2020 all contributors
+# Copyright (C) 2020-2021 all contributors
# License: AGPL-3.0+
+use strict;
+use v5.10.1;
use Test::More;
use PublicInbox::TestCommon;
use PublicInbox::Eml;
@@ -13,7 +15,10 @@ require_git(2.19); # for --unordered
require_mods(qw(BSD::Resource));
BSD::Resource->import(qw(getrusage));
my $cls = $ENV{TEST_CLASS};
-require_mods($cls) if $cls;
+if ($cls) {
+ diag "TEST_CLASS=$cls";
+ require_mods($cls);
+}
$cls //= 'PublicInbox::Eml';
my $inboxdir = $ENV{GIANT_INBOX_DIR};
plan skip_all => "GIANT_INBOX_DIR not defined for $0" unless $inboxdir;
@@ -55,7 +60,6 @@ my $cat_cb = sub {
};
my $t = timeit(1, sub {
- $git->cat_async_begin;
my ($blob, $type);
while (<$fh>) {
($blob, $type) = split / /;