mirror of
https://github.com/golang/go
synced 2024-11-19 08:44:39 -07:00
net/http: disable segfaulting test on darwin/arm
Issue #10043 Change-Id: I6ce7f303cd96ac575f7a673dd4a459339382d22e Reviewed-on: https://go-review.googlesource.com/6692 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
7ff6254c50
commit
4f6630de3a
@ -1788,6 +1788,13 @@ var proxyFromEnvTests = []proxyFromEnvTest{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestProxyFromEnvironment(t *testing.T) {
|
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()
|
ResetProxyEnv()
|
||||||
for _, tt := range proxyFromEnvTests {
|
for _, tt := range proxyFromEnvTests {
|
||||||
os.Setenv("HTTP_PROXY", tt.env)
|
os.Setenv("HTTP_PROXY", tt.env)
|
||||||
|
Loading…
Reference in New Issue
Block a user