From: Eric Wong Date: Tue, 29 Jan 2019 03:37:24 +0000 (+0000) Subject: t/check-www-inbox: don't follow mboxes X-Git-Tag: v1.2.0~397^2~8 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=75154e05332cae23502bb5b503fe5c797bdf6526;p=public-inbox.git t/check-www-inbox: don't follow mboxes They can be extremely large with no limit, so can lead to OOM errors. --- diff --git a/t/check-www-inbox.perl b/t/check-www-inbox.perl index 933362a7..0a6d61bb 100644 --- a/t/check-www-inbox.perl +++ b/t/check-www-inbox.perl @@ -175,7 +175,7 @@ sub worker_loop { my $s; # blocking foreach my $l (@links, "DONE\t$u") { - next if $l eq ''; + next if $l eq '' || $l =~ /\.mbox(?:\.gz)\z/; do { $s = $done_wr->send($l, MSG_EOR); } while (!defined $s && $!{EINTR});