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.17 [+0.17] 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.21 [+0.02] OK # 0.21 [+0.00] # 0.22 [+0.02] dgram bind # 0.38 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 0.38 [+0.00] tx: 128 # 0.39 [+0.01] rx: 142 # 0.39 [+0.00] rx: 100 # 0.40 [+0.01] OK # 0.40 [+0.00] # 0.42 [+0.02] raw # 0.59 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 0.59 [+0.00] tx: 142 # 0.62 [+0.02] rx: 142 # 0.62 [+0.00] rx: 100 # 0.63 [+0.01] OK # 0.63 [+0.00] # 0.64 [+0.02] raw bind # 0.81 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 0.81 [+0.00] tx: 142 # 0.83 [+0.02] rx: 142 # 0.83 [+0.00] rx: 100 # 0.84 [+0.01] OK # 0.84 [+0.00] # 0.86 [+0.02] raw qdisc bypass # 1.03 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 1.03 [+0.00] tx: 142 # 1.04 [+0.01] rx: 142 # 1.04 [+0.00] rx: 100 # 1.05 [+0.01] OK # 1.05 [+0.00] # 1.06 [+0.02] raw vlan # 1.23 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 1.23 [+0.00] tx: 146 # 1.25 [+0.02] rx: 100 # 1.26 [+0.01] OK # 1.26 [+0.00] # 1.27 [+0.02] raw vnet hdr # 1.43 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 1.43 [+0.00] tx: 152 # 1.45 [+0.02] rx: 142 # 1.45 [+0.00] rx: 100 # 1.46 [+0.01] OK # 1.46 [+0.00] # 1.48 [+0.02] raw csum_off # 1.63 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 1.63 [+0.00] tx: 152 # 1.66 [+0.02] rx: 142 # 1.66 [+0.00] rx: 100 # 1.67 [+0.01] OK # 1.67 [+0.00] # 1.68 [+0.02] raw csum_off with bad offset (expected to fail) # 1.85 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 1.85 [+0.00] ./psock_snd: write: Invalid argument # 1.89 [+0.04] raw min size # 2.05 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 2.05 [+0.00] tx: 42 # 2.07 [+0.02] rx: 0 # 2.08 [+0.01] OK # 2.08 [+0.00] # 2.10 [+0.02] raw mtu size # 2.26 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 2.26 [+0.00] tx: 1514 # 2.27 [+0.01] rx: 1472 # 2.28 [+0.01] OK # 2.28 [+0.00] # 2.29 [+0.02] raw mtu size + 1 (expected to fail) # 2.44 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.45 [+0.00] ./psock_snd: write: Message too long # 2.50 [+0.05] raw vlan mtu size + 1 (expected to fail) # 2.66 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 2.66 [+0.00] ./psock_snd: write: Message too long # 2.71 [+0.05] dgram mtu size # 2.87 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 2.87 [+0.00] tx: 1500 # 2.88 [+0.01] rx: 1472 # 2.89 [+0.01] OK # 2.89 [+0.00] # 2.91 [+0.02] dgram mtu size + 1 (expected to fail) # 3.09 [+0.18] net.ipv4.conf.lo.accept_local = 1 # 3.09 [+0.00] ./psock_snd: write: Message too long # 3.14 [+0.05] raw truncate hlen (expected to fail: does not arrive) # 3.32 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 3.32 [+0.00] tx: 14 # 3.43 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 3.45 [+0.02] raw truncate hlen - 1 (expected to fail: EINVAL) # 3.62 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 3.62 [+0.00] ./psock_snd: write: Invalid argument # 3.67 [+0.05] raw gso min size # 3.83 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 3.84 [+0.00] tx: 1525 # 3.86 [+0.02] rx: 1473 # 3.87 [+0.01] OK # 3.87 [+0.00] # 3.89 [+0.02] raw gso max size # 4.05 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 4.05 [+0.00] tx: 65559 # 4.07 [+0.02] rx: 65507 # 4.08 [+0.01] OK # 4.08 [+0.00] # 4.10 [+0.02] raw gso max size + 1 (expected to fail) # 4.27 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 4.27 [+0.00] tx: 65560 # 4.40 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 4.43 [+0.03] 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__->