From nobody Fri Dec 19 17:35:42 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D857C07E9D for ; Mon, 26 Sep 2022 11:25:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233687AbiIZLZk (ORCPT ); Mon, 26 Sep 2022 07:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238083AbiIZLYF (ORCPT ); Mon, 26 Sep 2022 07:24:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85F33543EF; Mon, 26 Sep 2022 03:40:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5AB3160BB7; Mon, 26 Sep 2022 10:39:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5079EC433C1; Mon, 26 Sep 2022 10:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664188775; bh=4XjvDMY7+JMNNTaZ99vTKWavds7RXyMkidR26fFMFpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uL90JmOPddm9n9ta81eCaJgqGZboDXSUWmtsHQJmQKl2syLaPP18ClzeaQJ+7Tr2G pBekTCHE0DcurDtJrBocnskgKhowZggGm+d43wa1heGqft+jNlfkVZ235tLq4haeYy KHtr4FcNVifNQnKsefKjUDr1rGOsBq3BEWnRf2Qw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hangbin Liu , Petr Machata , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.15 116/148] selftests: forwarding: add shebang for sch_red.sh Date: Mon, 26 Sep 2022 12:12:30 +0200 Message-Id: <20220926100800.486074338@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100756.074519146@linuxfoundation.org> References: <20220926100756.074519146@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Hangbin Liu [ Upstream commit 83e4b196838d90799a8879e5054a3beecf9ed256 ] RHEL/Fedora RPM build checks are stricter, and complain when executable files don't have a shebang line, e.g. *** WARNING: ./kselftests/net/forwarding/sch_red.sh is executable but has n= o shebang, removing executable bit Fix it by adding shebang line. Fixes: 6cf0291f9517 ("selftests: forwarding: Add a RED test for SW datapath= ") Signed-off-by: Hangbin Liu Reviewed-by: Petr Machata Link: https://lore.kernel.org/r/20220922024453.437757-1-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- tools/testing/selftests/net/forwarding/sch_red.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/forwarding/sch_red.sh b/tools/test= ing/selftests/net/forwarding/sch_red.sh index e714bae473fb..81f31179ac88 100755 --- a/tools/testing/selftests/net/forwarding/sch_red.sh +++ b/tools/testing/selftests/net/forwarding/sch_red.sh @@ -1,3 +1,4 @@ +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 =20 # This test sends one stream of traffic from H1 through a TBF shaper, to a= RED --=20 2.35.1