From 2642df9a2c82b9de3e2868321cd109085d6910d3 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 7 Jun 2018 08:18:16 -0700 Subject: [PATCH] crypto/x509: re-enable TestSystemRoots on darwin It was apparently waiting on CL 36942, which was submitted. Fixes #21416 Change-Id: I8f4ccc5a3176070abf0df019c82700c5761b5f53 Reviewed-on: https://go-review.googlesource.com/117055 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/crypto/x509/root_darwin_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/crypto/x509/root_darwin_test.go b/src/crypto/x509/root_darwin_test.go index d935cc4e9a..2784ce2f0f 100644 --- a/src/crypto/x509/root_darwin_test.go +++ b/src/crypto/x509/root_darwin_test.go @@ -16,11 +16,6 @@ func TestSystemRoots(t *testing.T) { t.Skipf("skipping on %s/%s, no system root", runtime.GOOS, runtime.GOARCH) } - switch runtime.GOOS { - case "darwin": - t.Skipf("skipping on %s/%s until cgo part of golang.org/issue/16532 has been implemented.", runtime.GOOS, runtime.GOARCH) - } - t0 := time.Now() sysRoots := systemRootsPool() // actual system roots sysRootsDuration := time.Since(t0) -- 2.50.0