selftests: forwarding: add shebang for sch_red.sh
Subsystems (4)
PATCH 1/1 selftests: forwarding: add shebang for sch_red.sh
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 no shebang, removing executable bit
Fix it by adding shebang line.
--- tools/testing/selftests/net/forwarding/sch_red.sh | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/net/forwarding/sch_red.sh +1 -0
@@ -1,3 +1,4 @@ +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # This test sends one stream of traffic from H1 through a TBF shaper, to a RED
Signature · 1 line
2.37.2
Quoted 9 lines · Hangbin Liu
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.shis executable but has no shebang, removing executable bitFix it by adding shebang line.
Fixes 6cf0291f9517 ("selftests: forwarding: Add a RED test for SW datapath")Signed-off-by Hangbin Liu <[email protected]>
This patch was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Thu, 22 Sep 2022 10:44:53 +0800 you wrote:
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.shis executable but has no shebang, removing executable bitFix it by adding shebang line.
[...]
Here is the summary with links:
- [net] selftests: forwarding: add shebang for sch_red.sh
https://git.kernel.org/netdev/net/c/83e4b196838d
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html