make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: psock_snd.sh # 0.00 [+0.00] dgram # 0.08 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.08 [+0.00] tx: 128 # 0.09 [+0.01] rx: 142 # 0.09 [+0.00] rx: 100 # 0.10 [+0.02] OK # 0.10 [+0.00] # 0.12 [+0.01] dgram bind # 0.21 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 0.21 [+0.00] tx: 128 # 0.23 [+0.02] rx: 142 # 0.23 [+0.00] rx: 100 # 0.24 [+0.01] OK # 0.24 [+0.00] # 0.25 [+0.01] raw # 0.35 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 0.35 [+0.00] tx: 142 # 0.36 [+0.01] rx: 142 # 0.36 [+0.00] rx: 100 # 0.37 [+0.01] OK # 0.37 [+0.00] # 0.38 [+0.01] raw bind # 0.47 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 0.47 [+0.00] tx: 142 # 0.48 [+0.01] rx: 142 # 0.48 [+0.00] rx: 100 # 0.49 [+0.01] OK # 0.49 [+0.00] # 0.50 [+0.01] raw qdisc bypass # 0.60 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 0.60 [+0.00] tx: 142 # 0.61 [+0.02] rx: 142 # 0.61 [+0.00] rx: 100 # 0.62 [+0.01] OK # 0.62 [+0.00] # 0.63 [+0.01] raw vlan # 0.72 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 0.72 [+0.00] tx: 146 # 0.73 [+0.01] rx: 100 # 0.74 [+0.01] OK # 0.74 [+0.00] # 0.75 [+0.01] raw vnet hdr # 0.85 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 0.85 [+0.00] tx: 152 # 0.87 [+0.02] rx: 142 # 0.87 [+0.00] rx: 100 # 0.89 [+0.02] OK # 0.89 [+0.00] # 0.90 [+0.01] raw csum_off # 1.00 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.00 [+0.00] tx: 152 # 1.02 [+0.02] rx: 142 # 1.02 [+0.00] rx: 100 # 1.03 [+0.01] OK # 1.03 [+0.00] # 1.04 [+0.01] raw csum_off with bad offset (expected to fail) # 1.14 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.14 [+0.00] ./psock_snd: write: Invalid argument # 1.19 [+0.05] raw min size # 1.28 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.28 [+0.00] tx: 42 # 1.29 [+0.01] rx: 0 # 1.29 [+0.01] OK # 1.29 [+0.00] # 1.30 [+0.01] raw mtu size # 1.39 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.39 [+0.00] tx: 1514 # 1.41 [+0.02] rx: 1472 # 1.43 [+0.02] OK # 1.43 [+0.00] # 1.44 [+0.01] raw mtu size + 1 (expected to fail) # 1.53 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.53 [+0.00] ./psock_snd: write: Message too long # 1.56 [+0.03] raw vlan mtu size + 1 (expected to fail) # 1.65 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.65 [+0.00] ./psock_snd: write: Message too long # 1.70 [+0.05] dgram mtu size # 1.79 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.79 [+0.00] tx: 1500 # 1.81 [+0.02] rx: 1472 # 1.82 [+0.02] OK # 1.83 [+0.00] # 1.84 [+0.01] dgram mtu size + 1 (expected to fail) # 1.92 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.92 [+0.00] ./psock_snd: write: Message too long # 1.97 [+0.04] raw truncate hlen (expected to fail: does not arrive) # 2.05 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.06 [+0.00] tx: 14 # 2.17 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 2.18 [+0.02] raw truncate hlen - 1 (expected to fail: EINVAL) # 2.27 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.27 [+0.00] ./psock_snd: write: Invalid argument # 2.32 [+0.05] raw gso min size # 2.41 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.41 [+0.00] tx: 1525 # 2.42 [+0.01] rx: 1473 # 2.44 [+0.02] OK # 2.44 [+0.00] # 2.45 [+0.01] raw gso max size # 2.53 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.54 [+0.00] tx: 65559 # 2.55 [+0.02] rx: 65507 # 2.56 [+0.01] OK # 2.56 [+0.00] # 2.57 [+0.01] raw gso max size + 1 (expected to fail) # 2.67 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.67 [+0.00] tx: 65560 # 2.78 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 2.80 [+0.02] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->