]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
git: use --batch-command in git 2.36+ to save processes
[public-inbox.git] / t / nntpd.t
index 30233ce0c3b186ba8dd4d813183d8d81e874584a..bebf4203c18367f94cd65634d6ae4e05bbe288ac 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -365,7 +365,7 @@ Date: Fri, 02 Oct 1993 00:00:00 +0000
                ($^O =~ /\A(?:linux)\z/) or
                        skip "lsof /(deleted)/ check untested on $^O", 1;
                my @lsof = xqx([$lsof, '-p', $td->{pid}], undef, $noerr);
-               my $d = [ grep(/\(deleted\)/, @lsof) ];
+               my $d = [ grep(/\(deleted\)/, grep(!/batch-command\.err/, @lsof)) ];
                is_deeply($d, [], 'no deleted files') or diag explain($d);
        };
        SKIP: { test_watch($tmpdir, $host_port, $group) };