]> Sergey Matveev's repositories - public-inbox.git/commit
tests: move t/common.perl to PublicInbox::TestCommon
authorEric Wong <e@80x24.org>
Wed, 18 Dec 2019 03:36:44 +0000 (03:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 19 Dec 2019 04:07:45 +0000 (04:07 +0000)
commit3c313f9034aac96182e2efdc2f92c40803626f32
tree5e105f4b698da5695c22edea1a6e2033e0ce78e4
parent684d26cecc0891261783be179909b0e434692b25
tests: move t/common.perl to PublicInbox::TestCommon

We want to be able to use run_script with *.t files, so
t/common.perl putting subs into the top-level "main" namespace
won't work.  Instead, make it a module which uses Exporter
like other libraries.
59 files changed:
MANIFEST
lib/PublicInbox/TestCommon.pm [moved from t/common.perl with 94% similarity]
t/admin.t
t/altid.t
t/altid_v2.t
t/cgi.t
t/config.t
t/convert-compact.t
t/edit.t
t/emergency.t
t/feed.t
t/filter_rubylang.t
t/git.t
t/html_index.t
t/httpd-corner.t
t/httpd-https.t
t/httpd-unix.t
t/httpd.t
t/import.t
t/indexlevels-mirror.t
t/init.t
t/mda.t
t/mda_filter_rubylang.t
t/msgmap.t
t/nntpd-tls.t
t/nntpd.t
t/nulsubject.t
t/over.t
t/plack.t
t/psgi_attach.t
t/psgi_bad_mids.t
t/psgi_mount.t
t/psgi_multipart_not.t
t/psgi_scan_all.t
t/psgi_search.t
t/psgi_text.t
t/psgi_v2.t
t/purge.t
t/replace.t
t/search-thr-index.t
t/search.t
t/solver_git.t
t/spamcheck_spamc.t
t/v1-add-remove-add.t
t/v1reindex.t
t/v2-add-remove-add.t
t/v2mda.t
t/v2mirror.t
t/v2reindex.t
t/v2writable.t
t/watch_filter_rubylang.t
t/watch_maildir.t
t/watch_maildir_v2.t
t/www_listing.t
t/xcpdb-reshard.t
xt/git-http-backend.t
xt/nntpd-validate.t
xt/perf-msgview.t
xt/perf-nntpd.t