mirror of https://github.com/tailscale/tailscale/
tstun: add test to send a packet after Close()
This test serves two purposes: + check that Write() returns an error if the tstun has been closed. + ensure that the close-related code in tstun is exercised in a test case. We were getting spurious code coverage adds/drops based on timing of when the test case finished. Signed-off-by: Denton Gentry <dgentry@tailscale.com>alexbrainman/use_wg_dns_code
parent
7c1a9e8616
commit
8578b0445d
Loading…
Reference in New Issue