From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6745E1F55F for ; Sun, 24 Sep 2023 20:19:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1695586762; bh=uuwHT4T8yQZ+P/41AyAJBe2LosVCt+NDNpno7JwusUs=; h=From:To:Subject:Date:From; b=n7and1CyHH/hdiUMnaiRcqlj3pkKL7dKcK0uAfHfpoF2ZHN+rc3Rnwe3S5C91OVka 99757HspGrSLI5/+okDMTEQdYYUiA1hhXi6emovZ97le7CBuDbmmbkI7Zcp+rdY6hs +6Yul18vomBmtbTjyLezEe6ly2gOImOaqmkydaOE= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/6] various test and syscall-related fixes Date: Sun, 24 Sep 2023 20:19:16 +0000 Message-ID: <20230924201922.4031002-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-)