Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 37624b58542fb9f2d9a70e6ea006ef8a5f66c30b authored by Linus Torvalds on 29 April 2019, 00:04:13 UTC
Linux 5.1-rc7
Tip revision: 37624b5
test_bpf.sh
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# 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
back to top