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.13 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 0.13 [+0.00] tx: 128 # 0.13 [+0.01] rx: 142 # 0.13 [+0.00] rx: 100 # 0.14 [+0.01] OK # 0.14 [+0.00] # 0.16 [+0.01] dgram bind # 0.28 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 0.28 [+0.00] tx: 128 # 0.30 [+0.02] rx: 142 # 0.30 [+0.00] rx: 100 # 0.31 [+0.02] OK # 0.31 [+0.00] # 0.33 [+0.01] raw # 0.46 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 0.46 [+0.00] tx: 142 # 0.47 [+0.01] rx: 142 # 0.47 [+0.00] rx: 100 # 0.48 [+0.01] OK # 0.48 [+0.00] # 0.49 [+0.01] raw bind # 0.61 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 0.61 [+0.00] tx: 142 # 0.63 [+0.02] rx: 142 # 0.63 [+0.00] rx: 100 # 0.65 [+0.02] OK # 0.65 [+0.00] # 0.66 [+0.01] raw qdisc bypass # 0.79 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 0.79 [+0.00] tx: 142 # 0.79 [+0.01] rx: 142 # 0.80 [+0.00] rx: 100 # 0.80 [+0.01] OK # 0.81 [+0.00] # 0.82 [+0.01] raw vlan # 0.94 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 0.94 [+0.00] tx: 146 # 0.95 [+0.01] rx: 100 # 0.96 [+0.01] OK # 0.96 [+0.00] # 0.97 [+0.01] raw vnet hdr # 1.10 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 1.10 [+0.00] tx: 152 # 1.11 [+0.01] rx: 142 # 1.12 [+0.00] rx: 100 # 1.13 [+0.02] OK # 1.13 [+0.00] # 1.15 [+0.01] raw csum_off # 1.27 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 1.27 [+0.00] tx: 152 # 1.28 [+0.02] rx: 142 # 1.28 [+0.00] rx: 100 # 1.30 [+0.02] OK # 1.30 [+0.00] # 1.31 [+0.01] raw csum_off with bad offset (expected to fail) # 1.44 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 1.44 [+0.00] ./psock_snd: write: Invalid argument # 1.49 [+0.05] raw min size # 1.63 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 1.63 [+0.00] tx: 42 # 1.65 [+0.02] rx: 0 # 1.66 [+0.02] OK # 1.66 [+0.00] # 1.68 [+0.01] raw mtu size # 1.80 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 1.80 [+0.00] tx: 1514 # 1.81 [+0.01] rx: 1472 # 1.83 [+0.02] OK # 1.83 [+0.00] # 1.84 [+0.01] raw mtu size + 1 (expected to fail) # 1.96 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 1.96 [+0.00] ./psock_snd: write: Message too long # 2.01 [+0.05] raw vlan mtu size + 1 (expected to fail) # 2.13 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 2.13 [+0.00] ./psock_snd: write: Message too long # 2.16 [+0.03] dgram mtu size # 2.29 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 2.29 [+0.00] tx: 1500 # 2.30 [+0.01] rx: 1472 # 2.32 [+0.02] OK # 2.32 [+0.00] # 2.33 [+0.01] dgram mtu size + 1 (expected to fail) # 2.46 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 2.46 [+0.00] ./psock_snd: write: Message too long # 2.51 [+0.05] raw truncate hlen (expected to fail: does not arrive) # 2.63 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 2.63 [+0.00] tx: 14 # 2.74 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 2.76 [+0.02] raw truncate hlen - 1 (expected to fail: EINVAL) # 2.89 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 2.89 [+0.00] ./psock_snd: write: Invalid argument # 2.94 [+0.05] raw gso min size # 3.06 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 3.06 [+0.00] tx: 1525 # 3.07 [+0.01] rx: 1473 # 3.08 [+0.01] OK # 3.08 [+0.00] # 3.09 [+0.01] raw gso max size # 3.21 [+0.12] net.ipv4.conf.lo.accept_local = 1 # 3.21 [+0.00] tx: 65559 # 3.22 [+0.01] rx: 65507 # 3.24 [+0.02] OK # 3.24 [+0.00] # 3.25 [+0.01] raw gso max size + 1 (expected to fail) # 3.38 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 3.38 [+0.00] tx: 65560 # 3.50 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 3.52 [+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__->