diff options
author | Eric Wong <e@80x24.org> | 2023-09-16 03:21:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-16 12:12:51 +0000 |
commit | 217b26d007a7d9be3f0ae768e32a8a3e4807f27c (patch) | |
tree | d3b006f4a51bb99ea68a4fdc02e379f20e772756 /t/lei-externals.t | |
parent | 584d2d5fc4fb458792aef93c9802126d0722dfb1 (diff) | |
download | public-inbox-217b26d007a7d9be3f0ae768e32a8a3e4807f27c.tar.gz |
This non-parallelized target is useful for noticing core dumps and preventing them from being clobbered as we run the test suite. It will also notice leftover temporary files and directories. This make target was used on OpenBSD 7.3 to develop at least two recent fixes: e281363ba937 (lei: ensure we run DESTROY|END at daemon exit w/ kqueue) 759885e60e59 (lei: ensure --stdin sets %ENV and $current_lei) I considered using a per-test TMPDIR for this to enable parallelization, but on-filesystem UNIX sockets won't work with excessively long path names.
Diffstat (limited to 't/lei-externals.t')
-rw-r--r-- | t/lei-externals.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lei-externals.t b/t/lei-externals.t index aeaf8ee4..4f2dd6ba 100644 --- a/t/lei-externals.t +++ b/t/lei-externals.t @@ -48,6 +48,7 @@ SKIP: { $tp->join; ok(WIFSIGNALED($?), "signaled @$out"); is(WTERMSIG($?), SIGPIPE, "got SIGPIPE @$out"); + no_coredump; seek($err, 0, 0); my @err = <$err>; is_deeply(\@err, [], "no errors @$out"); @@ -66,6 +67,7 @@ SKIP: { tick(); } ok(!$alive, 'daemon-kill worked'); + no_coredump; } } # /SKIP }; # /sub |