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.07 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.07 [+0.00] tx: 128 # 0.07 [+0.01] rx: 142 # 0.07 [+0.00] rx: 100 # 0.08 [+0.01] OK # 0.08 [+0.00] # 0.09 [+0.01] dgram bind # 0.18 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 0.18 [+0.00] tx: 128 # 0.19 [+0.01] rx: 142 # 0.19 [+0.00] rx: 100 # 0.19 [+0.01] OK # 0.19 [+0.00] # 0.20 [+0.01] raw # 0.28 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.28 [+0.00] tx: 142 # 0.30 [+0.01] rx: 142 # 0.30 [+0.00] rx: 100 # 0.30 [+0.01] OK # 0.30 [+0.00] # 0.31 [+0.01] raw bind # 0.40 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.40 [+0.00] tx: 142 # 0.42 [+0.02] rx: 142 # 0.42 [+0.00] rx: 100 # 0.44 [+0.02] OK # 0.44 [+0.00] # 0.45 [+0.01] raw qdisc bypass # 0.53 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.53 [+0.00] tx: 142 # 0.55 [+0.02] rx: 142 # 0.55 [+0.00] rx: 100 # 0.57 [+0.02] OK # 0.57 [+0.00] # 0.58 [+0.01] raw vlan # 0.66 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.66 [+0.00] tx: 146 # 0.68 [+0.01] rx: 100 # 0.69 [+0.02] OK # 0.69 [+0.00] # 0.70 [+0.01] raw vnet hdr # 0.78 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.78 [+0.00] tx: 152 # 0.79 [+0.01] rx: 142 # 0.79 [+0.00] rx: 100 # 0.79 [+0.01] OK # 0.79 [+0.00] # 0.80 [+0.01] raw csum_off # 0.88 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 0.88 [+0.00] tx: 152 # 0.89 [+0.01] rx: 142 # 0.89 [+0.00] rx: 100 # 0.90 [+0.01] OK # 0.90 [+0.00] # 0.91 [+0.01] raw csum_off with bad offset (expected to fail) # 1.00 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.00 [+0.00] ./psock_snd: write: Invalid argument # 1.03 [+0.03] raw min size # 1.12 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 1.12 [+0.00] tx: 42 # 1.13 [+0.01] rx: 0 # 1.14 [+0.01] OK # 1.14 [+0.00] # 1.15 [+0.01] raw mtu size # 1.23 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.23 [+0.00] tx: 1514 # 1.25 [+0.02] rx: 1472 # 1.26 [+0.01] OK # 1.26 [+0.00] # 1.27 [+0.01] raw mtu size + 1 (expected to fail) # 1.36 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.36 [+0.00] ./psock_snd: write: Message too long # 1.39 [+0.04] raw vlan mtu size + 1 (expected to fail) # 1.48 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.48 [+0.00] ./psock_snd: write: Message too long # 1.52 [+0.04] dgram mtu size # 1.61 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.61 [+0.00] tx: 1500 # 1.62 [+0.01] rx: 1472 # 1.63 [+0.01] OK # 1.63 [+0.00] # 1.64 [+0.01] dgram mtu size + 1 (expected to fail) # 1.72 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.72 [+0.00] ./psock_snd: write: Message too long # 1.76 [+0.05] raw truncate hlen (expected to fail: does not arrive) # 1.84 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.84 [+0.00] tx: 14 # 1.96 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 1.98 [+0.02] raw truncate hlen - 1 (expected to fail: EINVAL) # 2.08 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.08 [+0.00] ./psock_snd: write: Invalid argument # 2.12 [+0.05] raw gso min size # 2.20 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 2.20 [+0.00] tx: 1525 # 2.22 [+0.02] rx: 1473 # 2.23 [+0.01] OK # 2.23 [+0.00] # 2.24 [+0.01] raw gso max size # 2.33 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 2.33 [+0.00] tx: 65559 # 2.34 [+0.01] rx: 65507 # 2.36 [+0.02] OK # 2.36 [+0.00] # 2.37 [+0.01] raw gso max size + 1 (expected to fail) # 2.46 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.46 [+0.00] tx: 65560 # 2.58 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 2.59 [+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__->