google/gvisor

Combine similar syscall tests

Open

#1,640 opened on Jan 22, 2020

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

Repository metrics

Stars
 (12,713 stars)
PR merge metrics
 (Avg merge 4d 22h) (184 merged PRs in 30d)

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