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.10 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 0.10 [+0.00] tx: 128 # 0.11 [+0.01] rx: 142 # 0.11 [+0.00] rx: 100 # 0.12 [+0.01] OK # 0.12 [+0.00] # 0.13 [+0.01] dgram bind # 0.24 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 0.24 [+0.00] tx: 128 # 0.25 [+0.01] rx: 142 # 0.25 [+0.00] rx: 100 # 0.25 [+0.01] OK # 0.25 [+0.00] # 0.27 [+0.01] raw # 0.38 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 0.38 [+0.00] tx: 142 # 0.39 [+0.02] rx: 142 # 0.39 [+0.00] rx: 100 # 0.41 [+0.01] OK # 0.41 [+0.00] # 0.42 [+0.01] raw bind # 0.53 [+0.11] 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.56 [+0.02] OK # 0.56 [+0.00] # 0.57 [+0.01] raw qdisc bypass # 0.68 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 0.68 [+0.00] tx: 142 # 0.70 [+0.02] rx: 142 # 0.70 [+0.00] rx: 100 # 0.71 [+0.01] OK # 0.71 [+0.00] # 0.72 [+0.01] raw vlan # 0.83 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 0.83 [+0.00] tx: 146 # 0.84 [+0.01] rx: 100 # 0.84 [+0.01] OK # 0.84 [+0.00] # 0.86 [+0.01] raw vnet hdr # 0.97 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 0.97 [+0.00] tx: 152 # 0.98 [+0.01] rx: 142 # 0.98 [+0.00] rx: 100 # 0.99 [+0.01] OK # 0.99 [+0.00] # 1.00 [+0.01] raw csum_off # 1.11 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 1.11 [+0.00] tx: 152 # 1.12 [+0.01] rx: 142 # 1.12 [+0.00] rx: 100 # 1.13 [+0.01] OK # 1.13 [+0.00] # 1.14 [+0.01] raw csum_off with bad offset (expected to fail) # 1.26 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 1.26 [+0.00] ./psock_snd: write: Invalid argument # 1.30 [+0.04] raw min size # 1.41 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 1.41 [+0.00] tx: 42 # 1.44 [+0.02] rx: 0 # 1.45 [+0.01] OK # 1.45 [+0.00] # 1.46 [+0.01] raw mtu size # 1.57 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 1.57 [+0.00] tx: 1514 # 1.59 [+0.02] rx: 1472 # 1.60 [+0.01] OK # 1.60 [+0.00] # 1.61 [+0.01] raw mtu size + 1 (expected to fail) # 1.72 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 1.72 [+0.00] ./psock_snd: write: Message too long # 1.76 [+0.04] raw vlan mtu size + 1 (expected to fail) # 1.86 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 1.86 [+0.00] ./psock_snd: write: Message too long # 1.91 [+0.05] dgram mtu size # 2.01 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 2.02 [+0.00] tx: 1500 # 2.04 [+0.02] rx: 1472 # 2.06 [+0.02] OK # 2.06 [+0.00] # 2.07 [+0.01] dgram mtu size + 1 (expected to fail) # 2.16 [+0.09] net.ipv4.conf.lo.accept_local = 1 # 2.16 [+0.00] ./psock_snd: write: Message too long # 2.21 [+0.04] raw truncate hlen (expected to fail: does not arrive) # 2.31 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 2.31 [+0.00] tx: 14 # 2.44 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 2.46 [+0.02] raw truncate hlen - 1 (expected to fail: EINVAL) # 2.56 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 2.56 [+0.00] ./psock_snd: write: Invalid argument # 2.62 [+0.05] raw gso min size # 2.71 [+0.10] net.ipv4.conf.lo.accept_local = 1 # 2.72 [+0.00] tx: 1525 # 2.73 [+0.02] rx: 1473 # 2.75 [+0.02] OK # 2.75 [+0.00] # 2.76 [+0.01] raw gso max size # 2.88 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 2.88 [+0.00] tx: 65559 # 2.90 [+0.02] rx: 65507 # 2.91 [+0.01] OK # 2.91 [+0.00] # 2.92 [+0.01] raw gso max size + 1 (expected to fail) # 3.03 [+0.11] net.ipv4.conf.lo.accept_local = 1 # 3.03 [+0.00] tx: 65560 # 3.14 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 3.17 [+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__->