diff options
Diffstat (limited to 'common/scripts/kselftest-net.sh')
-rwxr-xr-x | common/scripts/kselftest-net.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/common/scripts/kselftest-net.sh b/common/scripts/kselftest-net.sh deleted file mode 100755 index a19696a..0000000 --- a/common/scripts/kselftest-net.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -cd $(dirname $0) -BASEDIR=$(pwd) -LAVA_ROOT="${BASEDIR}/../.." -TEST_DIR="${LAVA_ROOT}/kselftest/net" -TESTS="socket psock_fanout psock_tpacket" - -cd ${TEST_DIR} - -if /sbin/modprobe test_bpf; then - /sbin/rmmod test_bpf; - echo "test_bpf: pass"; -else - echo "test_bpf: fail"; -fi - -for t in $TESTS -do - echo - echo "Running $t"; - ./$t; - [ $? -ne 0 ] && echo "$t: fail" || echo "$t: pass"; -done - |