* [PATCH 1/6] test_common: fixes for TEST_RUN_MODE=0
2023-09-24 20:19 6% [PATCH 0/6] various test and syscall-related fixes Eric Wong
@ 2023-09-24 20:19 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-09-24 20:19 UTC (permalink / raw)
To: meta
This fixes t/httpd-https.t when running `make check TEST_RUN_MODE=0'
to disable all code preloading and reuse.
Fixes: b914e67f82ee (test_common: start_script: set default signals)
---
lib/PublicInbox/TestCommon.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm
index 9ad181e2..28edee9f 100644
--- a/lib/PublicInbox/TestCommon.pm
+++ b/lib/PublicInbox/TestCommon.pm
@@ -519,6 +519,7 @@ sub start_script {
}
$tail = tail_f(@paths, $opt);
}
+ require PublicInbox::DS;
my $oset = PublicInbox::DS::block_signals();
require PublicInbox::OnDestroy;
my $tmp_mask = PublicInbox::OnDestroy->new(
^ permalink raw reply related [relevance 7%]
* [PATCH 0/6] various test and syscall-related fixes
@ 2023-09-24 20:19 6% Eric Wong
2023-09-24 20:19 7% ` [PATCH 1/6] test_common: fixes for TEST_RUN_MODE=0 Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-09-24 20:19 UTC (permalink / raw)
To: meta
A few fixes I noticed while working on some other lei-related cleanups.
Eric Wong (6):
test_common: fixes for TEST_RUN_MODE=0
t/cmd_ipc: assume SOCK_SEQPACKET
lei_self_socket: drop unused deps and code
ipc: recv_cmd4 clobbers destination buffer on errors
syscall: have `vec' operate on bytes directly
syscall: fix valgrind error in pure Perl send_cmd4
lib/PublicInbox/CmdIPC4.pm | 5 +++-
lib/PublicInbox/LEI.pm | 1 -
lib/PublicInbox/LeiSelfSocket.pm | 8 ++-----
lib/PublicInbox/Spawn.pm | 8 ++++---
lib/PublicInbox/Syscall.pm | 20 ++++++++++------
lib/PublicInbox/TestCommon.pm | 1 +
t/cmd_ipc.t | 40 +++++++++++++++-----------------
7 files changed, 44 insertions(+), 39 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-09-24 20:19 6% [PATCH 0/6] various test and syscall-related fixes Eric Wong
2023-09-24 20:19 7% ` [PATCH 1/6] test_common: fixes for TEST_RUN_MODE=0 Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).