wgengine/tstun: add tests and benchmarks (#436)

Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
This commit is contained in:
Dmytro Shynkevych
2020-06-05 11:19:03 -04:00
committed by GitHub
parent 6f590f5b52
commit 02231e968e
3 changed files with 369 additions and 8 deletions

View File

@@ -34,7 +34,6 @@ func (t *fakeTUN) File() *os.File {
func (t *fakeTUN) Close() error {
close(t.closechan)
close(t.datachan)
close(t.evchan)
return nil
}