Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/sh
0002 # SPDX-License-Identifier: GPL-2.0
0003 # Runs bpf test using test_bpf kernel module
0004 
0005 if /sbin/modprobe -q test_bpf ; then
0006         /sbin/modprobe -q -r test_bpf;
0007         echo "test_bpf: ok";
0008 else
0009         echo "test_bpf: [FAIL]";
0010         exit 1;
0011 fi