Message ID | 20240315194620.10713-19-dev+git@drbeat.li (mailing list archive) |
---|---|
State | Accepted |
Commit | 37ea7c4875f4b581a75a6a2ac6c4904040a75580 |
Headers | show
Received: from mail-gateway-shared03.cyon.net (mail-gateway-shared03.cyon.net [194.126.200.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2654254770 for <git@vger.kernel.org>; Fri, 15 Mar 2024 19:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.126.200.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710532017; cv=none; b=FVMp5CFwK0imteHqR0yWmRwHPvyZzwOXhWBoThIFfMqH6lBkPnWeV+QKvDKqyEDiJgbW6nZvPHomoTpbkciC3GRxuaZnd03z8Iv1kKIERsxO9fK2C//Zo+r/VzA1FNOtoI9pWnM8F18kUkNdbpfWiWQc3AQnzayk+95741ZGE+4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710532017; c=relaxed/simple; bh=FBGYtMBE46md7xXtSfID/c9wLA56bu8LZllXBqjvfuw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nxYCYj70Nnvwf1ZOGh/Ob+s7AgOZ3xRbEyDhuXuWnwmc76A7GgmPanHHwAvAisV/Dv/LEtWPQCpvikvD7Moesi65IqgavQqMYrr/eRJd7aTkhmzmxrMAYpP4FnoIGlAbBtxgUYAStguxe7tbQkDQWd424DFch2ycIiUJLgjP9E8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=drbeat.li; spf=pass smtp.mailfrom=drbeat.li; arc=none smtp.client-ip=194.126.200.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=drbeat.li Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=drbeat.li Received: from s019.cyon.net ([149.126.4.28]) by mail-gateway-shared03.cyon.net with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim) (envelope-from <bb@drbeat.li>) id 1rlDVz-000000002Fe-3zGS for git@vger.kernel.org; Fri, 15 Mar 2024 20:46:52 +0100 Received: from [10.20.10.230] (port=63358 helo=mail.cyon.ch) by s019.cyon.net with esmtpa (Exim 4.96.2) (envelope-from <bb@drbeat.li>) id 1rlDVy-006ari-2i; Fri, 15 Mar 2024 20:46:50 +0100 Received: from minibeat.bolli (minibeat.bolli [192.168.11.3]) by drbeat.li (Postfix) with SMTP id 894411800FD; Fri, 15 Mar 2024 20:46:49 +0100 (CET) Received: by minibeat.bolli (sSMTP sendmail emulation); Fri, 15 Mar 2024 20:46:49 +0100 From: "Beat Bolli" <bb@drbeat.li> To: git@vger.kernel.org Cc: Junio C Hamano <gitster@pobox.com>, Beat Bolli <dev+git@drbeat.li> Subject: [PATCH v2 18/22] t/t5*: merge a "grep | sed" pipeline Date: Fri, 15 Mar 2024 20:46:15 +0100 Message-ID: <20240315194620.10713-19-dev+git@drbeat.li> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240315194620.10713-1-dev+git@drbeat.li> References: <20240305212533.12947-1-dev+git@drbeat.li> <20240315194620.10713-1-dev+git@drbeat.li> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: <git.vger.kernel.org> List-Subscribe: <mailto:git+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s019.cyon.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - drbeat.li X-Get-Message-Sender-Via: s019.cyon.net: authenticated_id: ig@drbeat.li X-Authenticated-Sender: s019.cyon.net: ig@drbeat.li |
Series |
avoid redundant pipelines
|
expand
|
diff --git a/t/t5401-update-hooks.sh b/t/t5401-update-hooks.sh index 8b8bc47dc0b9..d8cadeec7331 100755 --- a/t/t5401-update-hooks.sh +++ b/t/t5401-update-hooks.sh @@ -123,7 +123,7 @@ remote: STDOUT post-update remote: STDERR post-update EOF test_expect_success 'send-pack stderr contains hook messages' ' - grep ^remote: send.err | sed "s/ *\$//" >actual && + sed -n "/^remote:/s/ *\$//p" send.err >actual && test_cmp expect actual '
Signed-off-by: Beat Bolli <dev+git@drbeat.li> --- t/t5401-update-hooks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)