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.17 [+0.00] tx: 128 # 0.19 [+0.02] rx: 142 # 0.19 [+0.00] rx: 100 # 0.20 [+0.01] OK # 0.20 [+0.00] # 0.22 [+0.02] dgram bind # 0.39 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 0.39 [+0.00] tx: 128 # 0.40 [+0.01] rx: 142 # 0.40 [+0.00] rx: 100 # 0.41 [+0.01] OK # 0.41 [+0.00] # 0.43 [+0.02] raw # 0.60 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 0.60 [+0.00] tx: 142 # 0.60 [+0.01] rx: 142 # 0.60 [+0.00] rx: 100 # 0.61 [+0.01] OK # 0.61 [+0.00] # 0.63 [+0.02] raw bind # 0.79 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 0.79 [+0.00] tx: 142 # 0.79 [+0.01] rx: 142 # 0.79 [+0.00] rx: 100 # 0.80 [+0.01] OK # 0.80 [+0.00] # 0.82 [+0.02] raw qdisc bypass # 0.98 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 0.98 [+0.00] tx: 142 # 0.99 [+0.01] rx: 142 # 0.99 [+0.00] rx: 100 # 0.99 [+0.01] OK # 0.99 [+0.00] # 1.01 [+0.02] raw vlan # 1.18 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 1.18 [+0.00] tx: 146 # 1.18 [+0.01] rx: 100 # 1.19 [+0.01] OK # 1.19 [+0.00] # 1.21 [+0.02] raw vnet hdr # 1.38 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 1.38 [+0.00] tx: 152 # 1.39 [+0.01] rx: 142 # 1.39 [+0.00] rx: 100 # 1.39 [+0.01] OK # 1.39 [+0.00] # 1.41 [+0.02] raw csum_off # 1.57 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 1.57 [+0.00] tx: 152 # 1.59 [+0.02] rx: 142 # 1.59 [+0.00] rx: 100 # 1.60 [+0.01] OK # 1.60 [+0.00] # 1.61 [+0.02] raw csum_off with bad offset (expected to fail) # 1.75 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 1.75 [+0.00] ./psock_snd: write: Invalid argument # 1.80 [+0.05] raw min size # 1.95 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 1.95 [+0.00] tx: 42 # 1.97 [+0.02] rx: 0 # 1.98 [+0.01] OK # 1.98 [+0.00] # 2.00 [+0.01] raw mtu size # 2.15 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.15 [+0.00] tx: 1514 # 2.16 [+0.01] rx: 1472 # 2.17 [+0.01] OK # 2.17 [+0.00] # 2.19 [+0.02] raw mtu size + 1 (expected to fail) # 2.33 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 2.33 [+0.00] ./psock_snd: write: Message too long # 2.37 [+0.04] raw vlan mtu size + 1 (expected to fail) # 2.52 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.53 [+0.00] ./psock_snd: write: Message too long # 2.58 [+0.05] dgram mtu size # 2.73 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.73 [+0.00] tx: 1500 # 2.75 [+0.02] rx: 1472 # 2.76 [+0.01] OK # 2.76 [+0.00] # 2.77 [+0.02] dgram mtu size + 1 (expected to fail) # 2.91 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 2.91 [+0.00] ./psock_snd: write: Message too long # 2.94 [+0.03] raw truncate hlen (expected to fail: does not arrive) # 3.09 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 3.09 [+0.00] tx: 14 # 3.21 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 3.25 [+0.03] raw truncate hlen - 1 (expected to fail: EINVAL) # 3.40 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 3.40 [+0.00] ./psock_snd: write: Invalid argument # 3.45 [+0.05] raw gso min size # 3.60 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 3.60 [+0.00] tx: 1525 # 3.60 [+0.01] rx: 1473 # 3.62 [+0.02] OK # 3.62 [+0.00] # 3.63 [+0.02] raw gso max size # 3.78 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 3.78 [+0.00] tx: 65559 # 3.79 [+0.01] rx: 65507 # 3.81 [+0.02] OK # 3.81 [+0.00] # 3.82 [+0.01] raw gso max size + 1 (expected to fail) # 3.96 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 3.96 [+0.00] tx: 65560 # 4.07 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 4.10 [+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__->