summaryrefslogtreecommitdiff
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-12-14 11:58:20 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-05 13:19:47 -0700
commitd979e13a3fa9067c8cd46e292ed859626d443996 (patch)
treef01d2f215fbb0e2c503705b00bac7929ecd5b0b3 /tools/testing/selftests
parenta2b1e8a20c992b01eeb76de00d4f534cbe9f3822 (diff)
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>
Diffstat (limited to 'tools/testing/selftests')
-rwxr-xr-xtools/testing/selftests/bpf/test_kmod.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_kmod.sh b/tools/testing/selftests/bpf/test_kmod.sh
index 92e627adf354..6d58cca8e235 100755
--- a/tools/testing/selftests/bpf/test_kmod.sh
+++ b/tools/testing/selftests/bpf/test_kmod.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
SRC_TREE=../../../../