summaryrefslogtreecommitdiff
path: root/test/sys/test_ioctl.rs
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2022-12-13 14:26:59 +0100
committerStefano Garzarella <sgarzare@redhat.com>2022-12-14 09:54:43 +0100
commit4d31ecf06be0d689d013f0c3f45d17fdac6709d4 (patch)
tree043a6afe702a9f84b933faa59192a5f284906bb3 /test/sys/test_ioctl.rs
parentb7b0a65b4d9110f5c7d456e20f3aa9361ef57a3f (diff)
downloadnix-4d31ecf06be0d689d013f0c3f45d17fdac6709d4.zip
Rework vsock test
We mainly provide VsockAddr, so let's try to test well that VsockAddr mapping to libc::sockaddr_vm is correct. Let's remove all interactions with the socket, since vsock may or may not be available in the environment. Testing socket(), bind(), listen(), connect(), etc. caused unexpected failures, and it's out of scope of this crate. So let's simplify the vsock test focussing on VsockAddr. This should work also on graviton, so let's try to re-enable it. Fixes #1934 Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'test/sys/test_ioctl.rs')
0 files changed, 0 insertions, 0 deletions