diff options
author | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2014-12-17 23:01:33 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2014-12-17 23:01:33 +0000 |
commit | 7cacbced47c26c3c082571e5f18126c51b0d05af (patch) | |
tree | 8d776f5d7d373495fbbc1b14d5c9b5cf1228f54a /net/test_bpf.sh | |
parent | 2049c9e9091f707ab52cb3281e5e978e24584f26 (diff) |
Update to commit: 87c31b39abcb6fb6bd7d111200c9627a594bf6a9ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cceaa27f34e91a14cdceed26ed6c6793ec1d186115e36f014edff70fc02b3d3d79cead1d58f289332eb1940cd21c0f4abdce101253e860feff547291b026bc420b59a38e4e6685a73345a0def461136dce
from repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
branch: master
Diffstat (limited to 'net/test_bpf.sh')
-rwxr-xr-x | net/test_bpf.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/test_bpf.sh b/net/test_bpf.sh new file mode 100755 index 0000000..8b29796 --- /dev/null +++ b/net/test_bpf.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Runs bpf test using test_bpf kernel module + +if /sbin/modprobe -q test_bpf ; then + /sbin/modprobe -q -r test_bpf; + echo "test_bpf: ok"; +else + echo "test_bpf: [FAIL]"; + exit 1; +fi |