mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net: disable use of external listen along with other external network uses
By default the all.bash tests must not ever announce on an external address. It's not just an OS X issue. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5753067
This commit is contained in:
parent
0130a31366
commit
7c7966a426
4 changed files with 9 additions and 17 deletions
|
|
@ -28,7 +28,7 @@ func skipServerTest(net, unixsotype, addr string, ipv6, ipv4map, linuxonly bool)
|
|||
}
|
||||
switch addr {
|
||||
case "", "0.0.0.0", "[::ffff:0.0.0.0]", "[::]":
|
||||
if avoidOSXFirewallDialogPopup() {
|
||||
if testing.Short() || !*testExternal {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue