selftests: do not require bash to run bpf tests
authorRolf Eike Beer <eb@emlix.com>
Wed, 14 Dec 2016 10:58:20 +0000 (11:58 +0100)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 5 Jan 2017 20:19:47 +0000 (13:19 -0700)
commitd979e13a3fa9067c8cd46e292ed859626d443996
treef01d2f215fbb0e2c503705b00bac7929ecd5b0b3
parenta2b1e8a20c992b01eeb76de00d4f534cbe9f3822
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>
tools/testing/selftests/bpf/test_kmod.sh