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)
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

index 92e627adf3540f5c79ca4a2d372f81c74fa3bf8b..6d58cca8e23574a1fe15993d1da8f1558ecf8e06 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 SRC_TREE=../../../../