google/gvisor

Combine similar syscall tests

Open

#1640 opened on Jan 22, 2020

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Go (12,713 stars) (1,061 forks)batch import
area: testsexportedgood first issuepriority: p2type: bug

Description

Some gVisor syscall tests are almost identical and can easily be combined. This requires changes to the parameterized test parameter.

Example tests are UDPBroadcastSendRecvOnSocketBoundToAny and UDPBroadcastSendRecvOnSocketBoundToBroadcast in socket_ipv4_udp_unbound_external_networking.cc.

Contributor guide