mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 13:04:36 +07:00
7069a97a14
Currently bpf test run from the Makefile. Move it out of the Makefile to be run from a shell script to allow the test to be run as stand-alone test, in addition to allowing the test run from a make target. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Acked-by: David S. Miller <davem@davemloft.net>
11 lines
190 B
Bash
Executable File
11 lines
190 B
Bash
Executable File
#!/bin/sh
|
|
# Runs bpf test using test_bpf kernel module
|
|
|
|
if /sbin/modprobe -q test_bpf ; then
|
|
/sbin/modprobe -q -r test_bpf;
|
|
echo "test_bpf: ok";
|
|
else
|
|
echo "test_bpf: [FAIL]";
|
|
exit 1;
|
|
fi
|