Article View: linux.kernel.git
Article #1887Re: [PATCH v4] [Outreachy PATCH] t0001: avoid pipes in test scripts
From: Srujith Poojary
Date: Fri, 30 Oct 2026 08:05
Date: Fri, 30 Oct 2026 08:05
31 lines
12840 bytes
12840 bytes
On Fri, Oct 30, 2026 at 12:54 PM Patrick Steinhardt <ps@pks.im> wrote: > > On Thu, Oct 29, 2026 at 02:34:23PM +0000, Srujith A Poojary via GitGitGadget wrote: > > Range-diff vs v3: > > > > 1: a70ccdf49e ! 1: 4373eef413 [Outreachy PATCH] t0001: avoid pipes in test scripts > > @@ Commit message > > [Outreachy PATCH] t0001: avoid pipes in test scripts > > > > Avoid piping output from git version directly into sed to ensure > > - > > that any command failure is properly caught by test scripts. > > > > Signed-off-by: Srujith Poojary <poojarysrujith@gmail.com> > > Thanks, this version looks good to me. > > Patrick Hi Patrick, Thank you for the review and guidance throughout this patch! Best regards, Srujith
Technical Details
Message-ID:
<CABh_KWgjkgbXhTcvTu6enOXcEDziJ4S5XZ7MMMkKLYqRxTE4xg@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73848-linux-kernel-git=dewy.ruReferences:
<pull.2260.git.1792299301663.gitgitgadget@gmail.com> <pull.2260.v4.git.1793284463139.gitgitgadget@gmail.com> <auRGDmW0R-Ipn-gT@pks.im>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73848-linux-kernel-git=dewy.ru
From: poojarysrujith@gmail.com (Srujith Poojary)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v4] [Outreachy PATCH] t0001: avoid pipes in test scripts
Date: Fri, 30 Oct 2026 13:35:49 +0530
Organization: Usenet Network
Message-ID: <CABh_KWgjkgbXhTcvTu6enOXcEDziJ4S5XZ7MMMkKLYqRxTE4xg@mail.gmail.com>
References: <pull.2260.git.1792299301663.gitgitgadget@gmail.com>
<pull.2260.v4.git.1793284463139.gitgitgadget@gmail.com> <auRGDmW0R-Ipn-gT@pks.im>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2187356"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Sg5wRhyOW9nw5im2fIaLpnDYwsM= sha256:f+9IVT4DZgVVV/p+dgwcoyU7fL14zKvBLBtcemPWY/U=
sha1:EXp29fvFPfU/bSS6pk9Nwefzf08= sha256:wblzyomBZIRB2FDO8SdCYpj3vULWzYDdbtMOJLvF/EU=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 6B088125C8A; Fri, 30 Oct 2026 11:06:26 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.048
X-Spam-Status: No, score=-2.048 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FORGED_GMAIL_RCVD=1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id DA2UqxVrLfCY;
Fri, 30 Oct 2026 11:06:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-73848-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id EA6D9125C89; Fri, 30 Oct 2026 11:06:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id E9E7F2A3B4; Fri, 30 Oct 2026 08:06:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793347560;
b=Om8/uATznxv3IRrGcAQF/1gwtCTyFXLrFHdJPJDIFgES2CVTNsxAtEExN/tRDcPnE9Kp
9cUkYUcFnf4jAHAoxBppYqUIFq1L5y6QPh4ZpVKh7kKA2ipiZQmNUM6avkL1u+7hYm7HU
k0gcikgtJTzpzeuni1Y+cWuiwuWqbEaoreoGfi1LrM8/2qpFRzdOo7RNeQssUpA9rZUTb
Zb1Sv+SUDCs5SafemrW8UHoJaSYpidG5qz3T34zB+3ps9KoGE/Dmw1VNKVztHlaenfA2e
lEZbCEHhzL0VTpjPxdVyNd3AtU/l33vFTiT7Uw9Yygy7uFhgkv5TBrEIVGG6/RJQObA==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793347560;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
Cc:Content-Type:Content-Transfer-Encoding;
bh=DzBp5CmojQczmnC2CnTbllLv1ccLIBs39rAPPwt24ow=;
b=zznWe7FIfoYlQgLBtG3gKFNA8dChzVzpJ/v9h9Z9jh5KLGpAYSPMAhkUHASpvdPvCPos
nta9wqLokpGGRDyM1khjqHrL4KbrPGb1CWO9Y1D4ZT1V21hO8U34sq/3KLJSEH0wYvfoZ
eEgnSTEPkUDAHKh0MXP5+WuPdkhfxGLQ2kghhvSh85LYI4yM+rcHR9D56JbOyj1ZSUrAL
VXMWHHINjE0CECMIZ3Vl3QRieogA2HqHBiWLRQe+RSr4Z5PdKY54ZS3jZB6wGAHHj32VD
x3Qt1Z+9WPkdV7Oux7DZ0Yv2o6bnMmoGO+y+r2YfybrmfIzOFZ8cF0u9cl5jyTYUltw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=WIBu1QAU;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EF8F606A321;
Fri, 30 Oct 2026 08:06:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=WIBu1QAU
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.219.45
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793347559;
b=18ebMNoX5lwWIe2GQ/CzFnYyg0YOQfkFsRnkpYngu36RfxW5kv76oKOeYN41wpLs1PLq
NMAwwOXBFMDsY+2jyWVnE6ga8CWPccImAxKUiKPzN4rCH+2z+LcmlI49Ik5t8oTk2/CcE
7KSrA3N9TbVc+Khl7PWMpZwwGYmblB01W222md54jnixAMNexzQdny/nLfc8ODcgOgQXW
ZKtjn7q70Z5RZCN/3v1+8Ig8FdWzoEmKKoWJJ4/FgmAKpqd9zBrf9WeCEDNA1R8dn3Sc3
yb813/SGgo+CGzc+fF0MFDCblaV4Cv8+BtG4UibyBB3jVajGMaBDaSGjp7wIfLGQBDw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793347559;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=DzBp5CmojQczmnC2CnTbllLv1ccLIBs39rAPPwt24ow=;
b=C5/71o1QTg3ZhcJBqE88qvjfm3+UFBLKwFhXbkmhblrfzMWpEzXCYYP1nlxqUebFnWpv
M243Pn6awU+vB2ytewaX16MwSXBgIEZsLtQnzdkDP9GDIfJbDIB60fqlwni75NlHfgm4O
27KddFTftzd9TsWwY/FES4kTtPYPpQQZUtliPn4vaj+k5CQMyUeZPeffYHxyIZy5Uien1
lTGyqRC+ujs4c1oMFTunwIHpij4wTIrHm5SrTZpR9LIURP3W5YmMXvtBrm5UpwRD2dnJv
RaULMke0VGIRM/Bqe9W8ocLbu6gTrlD8zStTxd5rbbKSTIvyQVLSiOFLJ8+XH0YqkHg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=WIBu1QAU;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.219.45
X-Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AD5D606A31C
for <git@vger.kernel.org>; Fri, 30 Oct 2026 08:05:59 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5AD5D606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-91c763de878so3402476d6.0
for <git@vger.kernel.org>; Fri, 30 Oct 2026 01:05:59 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1793347558; cv=none;
d=google.com; s=arc-20260327;
b=HQLmGOdNXOliIlWEcgym1FeoakO+S1itej5M9WAByJWBRHura1YFwFAyMKTfz6OTW0
bk9g83BoQuwWlDdSe6MHk2+GEDtCefbj/2LJWvYaXwBgULOAloe11V1sUUwKUFXu6nId
rOFqVT0xaVYlTjHcF50l2zIhJVK7UjkkfW52uEFosk3B7obgyVBI4BhZ2eVBkjoZEBaW
z0gAchoRBvJR4oig5YctYaixeLw9pAtNpWN55lw7zdyK1cFA535EOcndwwLJw+YBLLnC
2DIOLeQoucfGMb4KXJX5aKp05QwsdwZdaslgtgOrzkRBf7442quqhSc210ijHHSYSKsc
uAqg==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=DzBp5CmojQczmnC2CnTbllLv1ccLIBs39rAPPwt24ow=;
fh=ilRlB8df1mivv+roLhAGpWaY1n6XqAuqE8j94tQ7Olk=;
b=rTP2RiLrDQK/kK4WU0Z+WL4ofdeC0joNDTw5USnLhIg7EhvFK2RaBcZCpIXI0xNVCD
fJ9pM872rFnn7FwRNbz2RbJushAqTCMoMw+s0uV2gePNtGUdiiEMj/jOXW7aj/p2dk2k
lz35LYhh3SBTPlzQgie9x99YWwzt7C2EtuiHZiIsOWTPuA6mpbw1e07YJPHtgDOY3vCH
W+ia62f1lzlEKh7JBN0OPeFuQiGWnLQKvryqnyHZ41eeFCRksue4ORNhkTqf8AjW252o
UFzap2ot4ke3rw7bzsAR5+XZKj2yzuDkMeb/HokJSKdcJHcmx/34yH6NrHweJ4puvF7g
CggQ==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1793347558; x=1793952358; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=DzBp5CmojQczmnC2CnTbllLv1ccLIBs39rAPPwt24ow=;
b=WIBu1QAU1eFIBLpUjPLbLDU03rSu6CvLC4kLr/LS1+6lWPjCKTjYDkyicJ4/JaC22g
EXRjIT/Ky4KivazskyVp2UWbVngVUk7C5TXUwUImZKNML8Kg2YWt7dbg1ske1pdFkGRc
dxv3pwVSZmCEWF5mjQKtPOtcFzd7MnCG0muBmMgHK5LAq0DAVXtY1aH9hSx1mAeuxIdt
mNZ92HmRRijP3Vuy6w+TSeVa94rqh92zr359Wrxo+bsjAqPPGRWQbrzwNBW7GtMQrxZl
G/TDy15A2381Gty4d++9lqTQ0OQzuKLF5wh3gZXCg5c1plyYBCUkkQzKZek4P6/Kl/+s
BS3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793347558; x=1793952358;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject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umrz17QXxEjW5Ca
axQ7fdQaW+xbnprByP9D/5xwAUhEVSSur3w5lwnha3Uxi7uTV+oWk/Z04ox0b6VvAzHh+HdRog8
RtH+LGwD6OsRRrWuumloQhTavfN4pXJUqo9MKTHxWjZffJotnaVureX42e
X-Received: by 2002:ad4:596d:0:b0:91c:6258:ec97 with SMTP id
6a1803df08f44-91ca4b03e2dmr21734976d6.11.1793347558307; Fri, 30 Oct 2026
01:05:58 -0700 (PDT)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <auRGDmW0R-Ipn-gT@pks.im>
X-Gm-Features: AclHuK_bOiWsJ9syjjoCfTDNkZS5QqxaVhmuiiO4LJX4ZRhHanvM3_XxLUdLsj8
X-Cc: Srujith A Poojary via GitGitGadget <gitgitgadget@gmail.com>, git@vger.kernel.org,
Usman Akinyemi <usmanakinyemi202@gmail.com>, Junio C Hamano <gitster@pobox.com>