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.14 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 0.14 [+0.00] tx: 128 # 0.15 [+0.01] rx: 142 # 0.15 [+0.00] rx: 100 # 0.16 [+0.02] OK # 0.16 [+0.00] # 0.18 [+0.01] dgram bind # 0.31 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 0.31 [+0.00] tx: 128 # 0.32 [+0.01] rx: 142 # 0.32 [+0.00] rx: 100 # 0.34 [+0.02] OK # 0.34 [+0.00] # 0.36 [+0.01] raw # 0.50 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 0.50 [+0.00] tx: 142 # 0.51 [+0.01] rx: 142 # 0.51 [+0.00] rx: 100 # 0.52 [+0.02] OK # 0.52 [+0.00] # 0.54 [+0.01] raw bind # 0.67 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 0.67 [+0.00] tx: 142 # 0.68 [+0.01] rx: 142 # 0.68 [+0.00] rx: 100 # 0.69 [+0.02] OK # 0.69 [+0.00] # 0.71 [+0.01] raw qdisc bypass # 0.84 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 0.84 [+0.00] tx: 142 # 0.85 [+0.01] rx: 142 # 0.85 [+0.00] rx: 100 # 0.86 [+0.01] OK # 0.86 [+0.00] # 0.87 [+0.01] raw vlan # 1.01 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 1.01 [+0.00] tx: 146 # 1.01 [+0.01] rx: 100 # 1.02 [+0.01] OK # 1.02 [+0.00] # 1.04 [+0.01] raw vnet hdr # 1.17 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 1.17 [+0.00] tx: 152 # 1.18 [+0.01] rx: 142 # 1.18 [+0.00] rx: 100 # 1.19 [+0.01] OK # 1.19 [+0.00] # 1.21 [+0.01] raw csum_off # 1.34 [+0.13] net.ipv4.conf.lo.accept_local = 1 # 1.34 [+0.00] tx: 152 # 1.35 [+0.01] rx: 142 # 1.35 [+0.00] rx: 100 # 1.37 [+0.02] OK # 1.37 [+0.00] # 1.38 [+0.01] raw csum_off with bad offset (expected to fail) # 1.54 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 1.54 [+0.00] ./psock_snd: write: Invalid argument # 1.59 [+0.05] raw min size # 1.74 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 1.74 [+0.00] tx: 42 # 1.76 [+0.01] rx: 0 # 1.77 [+0.01] OK # 1.77 [+0.00] # 1.78 [+0.02] raw mtu size # 1.93 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 1.93 [+0.00] tx: 1514 # 1.93 [+0.01] rx: 1472 # 1.94 [+0.01] OK # 1.94 [+0.00] # 1.96 [+0.02] raw mtu size + 1 (expected to fail) # 2.10 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.10 [+0.00] ./psock_snd: write: Message too long # 2.14 [+0.04] raw vlan mtu size + 1 (expected to fail) # 2.28 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 2.29 [+0.00] ./psock_snd: write: Message too long # 2.34 [+0.06] dgram mtu size # 2.51 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 2.51 [+0.00] tx: 1500 # 2.52 [+0.01] rx: 1472 # 2.52 [+0.01] OK # 2.52 [+0.00] # 2.54 [+0.02] dgram mtu size + 1 (expected to fail) # 2.69 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.70 [+0.00] ./psock_snd: write: Message too long # 2.73 [+0.03] raw truncate hlen (expected to fail: does not arrive) # 2.87 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 2.88 [+0.00] tx: 14 # 2.99 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 3.02 [+0.03] raw truncate hlen - 1 (expected to fail: EINVAL) # 3.16 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 3.17 [+0.00] ./psock_snd: write: Invalid argument # 3.20 [+0.03] raw gso min size # 3.34 [+0.14] net.ipv4.conf.lo.accept_local = 1 # 3.34 [+0.00] tx: 1525 # 3.35 [+0.01] rx: 1473 # 3.36 [+0.01] OK # 3.36 [+0.00] # 3.38 [+0.02] raw gso max size # 3.53 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 3.53 [+0.00] tx: 65559 # 3.54 [+0.02] rx: 65507 # 3.55 [+0.01] OK # 3.55 [+0.00] # 3.57 [+0.02] raw gso max size + 1 (expected to fail) # 3.72 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 3.72 [+0.00] tx: 65560 # 3.84 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 3.87 [+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__->