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:
Russ Cox 2012-03-06 23:35:31 -05:00
parent 0130a31366
commit 7c7966a426
4 changed files with 9 additions and 17 deletions

View file

@ -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
}
}