Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: do not require bash to run bpf tests

Nothing in this minimal script seems to require bash. We often run these
tests on embedded devices where the only shell available is the busybox
ash. Use sh instead.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Cc: stable@vger.kernel.org
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>

authored by

Rolf Eike Beer and committed by
Shuah Khan
d979e13a a2b1e8a2

+1 -1
+1 -1
tools/testing/selftests/bpf/test_kmod.sh
··· 1 - #!/bin/bash 1 + #!/bin/sh 2 2 3 3 SRC_TREE=../../../../ 4 4