File Index
Files and directories
Sign in
FILE

test_bpf.sh

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/net/test_bpf.sh BASH
 1#!/bin/sh
 2# SPDX-License-Identifier: GPL-2.0
 3# 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
~/ Read-only file preview.