]> Sergey Matveev's repositories - public-inbox.git/commit
t/common: start_script replaces spawn_listener
authorEric Wong <e@80x24.org>
Sun, 24 Nov 2019 00:22:31 +0000 (00:22 +0000)
committerEric Wong <e@80x24.org>
Sun, 24 Nov 2019 21:46:49 +0000 (21:46 +0000)
commite05912ae3899a0f50a6baf3b6c1892789d24f6b1
tree3b031d7478b78b77ae66eaa57360e21f2286f6c1
parent8576a48b2344905229737fde45498c80a1171ca5
t/common: start_script replaces spawn_listener

We can shave several hundred milliseconds off tests which spawn
daemons by preloading and avoiding startup time for common
modules which are already loaded in the parent process.

This also gives ENV{TAIL} support to all tests which support
daemons which log to stdout/stderr.
13 files changed:
t/common.perl
t/git-http-backend.t
t/httpd-corner.t
t/httpd-https.t
t/httpd-unix.t
t/httpd.t
t/nntpd-tls.t
t/nntpd-validate.t
t/nntpd.t
t/perf-nntpd.t
t/v2mirror.t
t/v2writable.t
t/www_listing.t