summaryrefslogtreecommitdiff
path: root/src/net/external_test.go
Commit message (Collapse)AuthorAgeFilesLines
* net: delay IP protocol stack-snooping system callsMikio Hara2017-04-151-2/+2
| | | | | | | | | | | | | | | | | This change delays IP protocol stack-snooping system calls until the start of connection setup for the better experience with some system call auditing, such as seccomp on Linux. See #16789 for examples. Also updates the documentation on favoriteAddrFamily, which is the owner of stack-snooping system calls. Fixes #16789. Change-Id: I4af27bc1ed06ffb1f657b6f6381c328c1f41c66c Reviewed-on: https://go-review.googlesource.com/40750 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* net: make use of internal/testenv packageMikio Hara2016-04-141-6/+5
| | | | | | | Change-Id: I6644081df495cb92b3d208f867066f9acb08946f Reviewed-on: https://go-review.googlesource.com/22074 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* net: fix the series of TestLookup and external testsMikio Hara2015-05-201-36/+7
| | | | | | | | | | | On Windows, we need to make sure that the node under test has external connectivity. Fixes #10795. Change-Id: I99f2336180c7b56474fa90a4a6cdd5a6c4dd3805 Reviewed-on: https://go-review.googlesource.com/10006 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* net: rename dialgoogle_test.go to external_test.goMikio Hara2015-04-291-0/+196
In the followup changes, tests that require external facilities such as DNS servers and RRs will move into external_test.go. Change-Id: Ib460b0c51961159830357652dbf5430e1ba01514 Reviewed-on: https://go-review.googlesource.com/9461 Reviewed-by: Dave Cheney <dave@cheney.net>