google/gvisor

Combine similar syscall tests

Aperta

#1640 aperta il 22 gen 2020

 (4 commenti) (0 reazioni) (0 assegnatari)Go (1061 fork)batch import
area: testsexportedgood first issuepriority: p2type: bug

Metriche repository

Star
 (12.713 stelle)
Metriche merge PR
 (Merge medio 4g 22h) (184 PR mergiate in 30 g)

Descrizione

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.

Guida contributor