diff options
author | David S. Miller <davem@davemloft.net> | 2019-12-20 21:09:21 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-20 21:09:21 -0800 |
commit | 17338900ccfd490242f460d8190dd9610b496601 (patch) | |
tree | e713739bb0c3b32de1243af6c673acbe5478c658 /net/tipc/net.h | |
parent | a706a0422322e6235d689f53274009a743c8d719 (diff) | |
parent | d6269a93ffc37effac85903122023a251dfa4aca (diff) | |
download | linux-17338900ccfd490242f460d8190dd9610b496601.tar.bz2 |
Merge branch 'VSOCK-add-vsock_test-test-suite'
Stefano Garzarella says:
====================
VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK
functionality has no tests. This patch series adds several test cases that
exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept,
half-closed connections, simultaneous connections).
The v1 of this series was originally sent by Stefan.
v3:
- Patch 6:
* check the byte received in the recv_byte()
* use send(2)/recv(2) instead of write(2)/read(2) to test also flags
(e.g. MSG_PEEK)
- Patch 8:
* removed unnecessary control_expectln("CLOSED") [Stefan].
- removed patches 9,10,11 added in the v2
- new Patch 9 add parameters to list and skip tests (e.g. useful for vmci
that doesn't support half-closed socket in the host)
- new Patch 10 prints a list of options in the help
- new Patch 11 tests MSG_PEEK flags of recv(2)
v2: https://patchwork.ozlabs.org/cover/1140538/
v1: https://patchwork.ozlabs.org/cover/847998/
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.h')
0 files changed, 0 insertions, 0 deletions