VSOCK: add tools/testing/vsock/vsock_diag_test
This patch adds tests for the vsock_diag.ko module. These tests are not self-tests because they require manual set up of a KVM or VMware guest. Please see tools/testing/vsock/README for instructions. The control.h and timeout.h infrastructure can be used for additional AF_VSOCK tests in the future. Signed-off-by:Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- tools/testing/vsock/.gitignore 2 additions, 0 deletionstools/testing/vsock/.gitignore
- tools/testing/vsock/Makefile 9 additions, 0 deletionstools/testing/vsock/Makefile
- tools/testing/vsock/README 36 additions, 0 deletionstools/testing/vsock/README
- tools/testing/vsock/control.c 219 additions, 0 deletionstools/testing/vsock/control.c
- tools/testing/vsock/control.h 13 additions, 0 deletionstools/testing/vsock/control.h
- tools/testing/vsock/timeout.c 64 additions, 0 deletionstools/testing/vsock/timeout.c
- tools/testing/vsock/timeout.h 14 additions, 0 deletionstools/testing/vsock/timeout.h
- tools/testing/vsock/vsock_diag_test.c 681 additions, 0 deletionstools/testing/vsock/vsock_diag_test.c
Loading
Please register or sign in to comment