0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.21.244.240


Current Path : /lib/modules/5.4.0-1103-aws/build/tools/testing/selftests/net/
Upload File :
Current File : //lib/modules/5.4.0-1103-aws/build/tools/testing/selftests/net/test_bpf.sh

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Runs bpf test using test_bpf kernel module

# Test whether test_bpf module exists
if ! /sbin/modprobe -q -n test_bpf; then
	echo "SKIP: test_bpf module not found"
elif /sbin/modprobe -q test_bpf ; then
	/sbin/modprobe -q -r test_bpf;
	echo "test_bpf: ok";
else
	echo "test_bpf: [FAIL]";
	exit 1;
fi