xref: /linux/tools/testing/selftests/net/test_bpf.sh (revision a33d42dd03352d2e9d3d2c00bfa435c7a5ebab25)
1#!/bin/sh
2# Runs bpf test using test_bpf kernel module
3
4if /sbin/modprobe -q test_bpf ; then
5	/sbin/modprobe -q -r test_bpf;
6	echo "test_bpf: ok";
7else
8	echo "test_bpf: [FAIL]";
9	exit 1;
10fi
11