Skip to content

Commit 83e4b19

Browse files
liuhangbinkuba-moo
authored andcommitted
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. Fixes: 6cf0291 ("selftests: forwarding: Add a RED test for SW datapath") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Link: https://lore.kernel.org/r/20220922024453.437757-1-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent c31f26c commit 83e4b19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/testing/selftests/net/forwarding/sch_red.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12
# SPDX-License-Identifier: GPL-2.0
23

34
# This test sends one stream of traffic from H1 through a TBF shaper, to a RED

0 commit comments

Comments
 (0)