blob: 65677909c574dffc2d9784d6563b92bbd26931ff [file] [log] [blame]
Shuah Khan7069a972014-10-30 16:52:15 -06001#!/bin/sh
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01002# SPDX-License-Identifier: GPL-2.0
Shuah Khan7069a972014-10-30 16:52:15 -06003# Runs bpf test using test_bpf kernel module
4
5if /sbin/modprobe -q test_bpf ; then
6 /sbin/modprobe -q -r test_bpf;
7 echo "test_bpf: ok";
8else
9 echo "test_bpf: [FAIL]";
10 exit 1;
11fi