Commit 4f6630de authored by David Crawshaw's avatar David Crawshaw

net/http: disable segfaulting test on darwin/arm

Issue #10043

Change-Id: I6ce7f303cd96ac575f7a673dd4a459339382d22e
Reviewed-on: https://go-review.googlesource.com/6692Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 7ff6254c
......@@ -1788,6 +1788,13 @@ var proxyFromEnvTests = []proxyFromEnvTest{
}
func TestProxyFromEnvironment(t *testing.T) {
if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
// fmt.Sprintf("%v", (*URL)(nil)) causes a segfault inside the string
// method, which lldb intercepts on the darwin/arm builder. Until it
// is fixed, skipping the test.
t.Skipf("skipping on %s/%s, issue 10043", runtime.GOOS, runtime.GOARCH)
}
ResetProxyEnv()
for _, tt := range proxyFromEnvTests {
os.Setenv("HTTP_PROXY", tt.env)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment