1
0
mirror of https://github.com/golang/go synced 2024-11-19 20:54:39 -07:00
go/src
Mikio Hara 57bc7a0434 net: fix TestDialGoogle with -ipv6 when CGO_ENABLED=0
Under some dial tests that require external network connectivity, we
must prevent application traffic but must not interfere with control
plane traffic such as DNS message exchange. But test helper function
disableSocketConnect prevents both application and control plane traffic
unconditionally and makes some dial tests with -ipv6 fail when
CGO_ENABLED=0.

This change makes disableSocketConnect take a look at not only address
family but socket type for fixing some dial tests with -ipv6 when
CGO_ENBALED=0.

Change-Id: I32241d9592d31483424bb5e69cb4d56f3fc20312
Reviewed-on: https://go-review.googlesource.com/8743
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-04-16 00:44:52 +00:00
..
archive
bufio
builtin
bytes bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
cmd cmd/6l: call runtime.addmoduledata from .init_array 2015-04-15 23:54:20 +00:00
compress compress/flate: fix typo in comment 2015-04-01 16:48:04 +00:00
container
crypto internal/syscall: move to unix subdirectory 2015-04-15 23:51:36 +00:00
database/sql database/sql: Retry with a fresh connection after maxBadConnRetries 2015-04-08 16:18:36 +00:00
debug debug/dwarf: add Entry.AttrField method to get *Field by Attr 2015-04-12 14:38:00 +00:00
encoding encoding/gob: more checks for corrupted data 2015-04-09 17:02:19 +00:00
errors
expvar expvar: swap Float sync. from mutex to atomic. 2015-04-12 23:07:50 +00:00
flag
fmt fmt: treat reflect.Value specially - as the value it holds 2015-04-15 15:59:39 +00:00
go internal/syscall: move to unix subdirectory 2015-04-15 23:51:36 +00:00
hash
html text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
image image/png: reject multiple tRNS chunks. 2015-04-15 04:35:27 +00:00
index/suffixarray
internal internal/syscall: move to unix subdirectory 2015-04-15 23:51:36 +00:00
io io: add CopyBuffer, a version of Copy in which the user provides a buffer 2015-04-15 15:59:16 +00:00
log log/syslog: limiting tests on darwin/arm64 2015-04-13 11:54:28 +00:00
math math/big: better doc strings for ErrNaN functionality 2015-04-09 20:18:32 +00:00
mime mime/quotedprintable: add binary mode to the writer 2015-03-30 12:49:19 +00:00
net net: fix TestDialGoogle with -ipv6 when CGO_ENABLED=0 2015-04-16 00:44:52 +00:00
os runtime: really pass return value to Windows in externalthreadhandler 2015-04-15 05:03:42 +00:00
path path/filepath: skip test on darwin/arm64 2015-04-13 11:52:46 +00:00
reflect fmt: treat reflect.Value specially - as the value it holds 2015-04-15 15:59:39 +00:00
regexp regexp: skip backtracker for long programs 2015-04-09 09:38:23 +00:00
runtime cmd/6l: call runtime.addmoduledata from .init_array 2015-04-15 23:54:20 +00:00
sort
strconv strconv: use 64bit uint for decimal conversion if available 2015-04-10 17:42:20 +00:00
strings bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
sync sync/atomic: skip issue 7338 test on darwin/arm64 2015-04-12 02:47:43 +00:00
syscall syscall: ignore getwd errors when fixing working directory on Plan 9 2015-04-12 17:37:30 +00:00
testing testing/quick: fix comment 2015-03-27 13:00:53 +00:00
text text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
time time: add Time.AppendFormat 2015-04-10 20:18:22 +00:00
unicode
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: copy pkg for gcimporter tests 2015-04-08 14:39:07 +00:00
bootstrap.bash
clean.bash
clean.bat
clean.rc
iostest.bash iostest.bash: do not restart device by default 2015-04-13 16:42:11 +00:00
make.bash
make.bat
Make.dist
make.rc
nacltest.bash nacltest.bash: reduce test time by using bootstrapping Go to build fstest_nacl.go 2015-03-24 23:58:14 +00:00
race.bash
race.bat
run.bash
run.bat
run.rc