]> Sergey Matveev's repositories - public-inbox.git/commit
xt/eml_check_limits: check limits against an inbox
authorEric Wong <e@yhbt.net>
Sun, 10 May 2020 22:37:11 +0000 (22:37 +0000)
committerEric Wong <e@yhbt.net>
Tue, 12 May 2020 06:15:57 +0000 (06:15 +0000)
commitcd8cda10c9687533949a8a358fd7b858f704da6e
treef4b8872bc24e4a1e84a5e88842e345fc4730f067
parente28abc96d9178ad59ca8563bf410c7f293b96321
xt/eml_check_limits: check limits against an inbox

This allows maintainers to easily check limits against the
contents of existing inboxes.  This script covers most of
the new limits enforced by PublicInbox::Eml.

Usage is similar to most xt/*.t scripts:

  GIANT_INBOX_DIR=/path/to/inbox prove -bvw xt/eml_check_limits.t

Setting `TEST_CLASS=PublicInbox::MIME' allows us to check
performance and memory use against the old subclass of
Email::MIME.
MANIFEST
xt/eml_check_limits.t [new file with mode: 0644]