]> Sergey Matveev's repositories - public-inbox.git/commit
lei: fix some warnings in tests
authorEric Wong <e@80x24.org>
Sun, 21 Mar 2021 09:50:47 +0000 (15:50 +0600)
committerEric Wong <e@80x24.org>
Sun, 21 Mar 2021 10:35:11 +0000 (10:35 +0000)
commit300309cebbf802463f2d7d235f2cf33d28f0760a
tree2e2b55785b81745a24fdd70d563090c2f60d4b47
parent26f6047fff20159085e28bd1e8a6e83a1e952fe0
lei: fix some warnings in tests

And then test the contents of $lei_err to ensure it doesn't
happen again.

We'll also make MboxLock emit nicer warnings without the line
number, since the line number is irrelevant to the user fixing
an mbox lock contention problem.

Finally, we'll also allow showing loud warnings via
TEST_LEI_ERR_LOUD=1
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiExternal.pm
lib/PublicInbox/LeiP2q.pm
lib/PublicInbox/MboxLock.pm
lib/PublicInbox/TestCommon.pm