]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: add shebang for sch_red.sh
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 22 Sep 2022 02:44:53 +0000 (10:44 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Sep 2022 14:33:56 +0000 (07:33 -0700)
commit14d4f5a4b822e3bb3469c338ec1f2280cb37606f
treeeeb1ccb6d7878cd79233d7084f1824bdff045ed2
parent64637fa51acc48976dc0c208b135a11f15aec40b
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: 98a80199d6d0 ("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>
tools/testing/selftests/net/forwarding/sch_red.sh