]> Sergey Matveev's repositories - public-inbox.git/commit
tests|lei: fixes for TEST_RUN_MODE=0 and lei oneshot
authorEric Wong <e@80x24.org>
Tue, 9 Feb 2021 08:09:37 +0000 (07:09 -0100)
committerEric Wong <e@80x24.org>
Wed, 10 Feb 2021 06:59:10 +0000 (06:59 +0000)
commit04b73104416e4734b3a01e47525119cac867065a
tree90d90646330fe572e0dc96317fdc9eb2003c5d5f
parent0c32dadfb508e087111fb4d685add5a22e5f6cd1
tests|lei: fixes for TEST_RUN_MODE=0 and lei oneshot

DESTROY callbacks can clobber $?, so we must take care to
preserve it when exiting.  We'll also try to make an effort to
ensure better DESTROY ordering and delete as much as possible
before x_it finishes.

We also need to load PublicInbox::Config when setting up
public inboxes.
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/TestCommon.pm
t/lei-mirror.t