VSOCK: add tools/testing/vsock/vsock_diag_test
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 5 Oct 2017 20:46:54 +0000 (16:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 01:44:17 +0000 (18:44 -0700)
commit0b02503384301e4c2db13f1045a1ddbaca2ba0ce
tree88a8efdc3dcba52ab1d0e379a709d4043acbc6c7
parent413a4317aca7d6367d57a5971b0c461f03851207
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>
MAINTAINERS
tools/testing/vsock/.gitignore [new file with mode: 0644]
tools/testing/vsock/Makefile [new file with mode: 0644]
tools/testing/vsock/README [new file with mode: 0644]
tools/testing/vsock/control.c [new file with mode: 0644]
tools/testing/vsock/control.h [new file with mode: 0644]
tools/testing/vsock/timeout.c [new file with mode: 0644]
tools/testing/vsock/timeout.h [new file with mode: 0644]
tools/testing/vsock/vsock_diag_test.c [new file with mode: 0644]