]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: skip TestSystemRoots
authorMartin Möhrmann <moehrmann@google.com>
Fri, 20 Jul 2018 14:41:26 +0000 (16:41 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 27 Jul 2018 16:44:57 +0000 (16:44 +0000)
commit911a5fda13d4b71c20cba25c45ddb9b9214d4183
tree080ac973e127552f1856f3c8adbd2ef24d0a2820
parentb39fb9ec85c95cd760b8916eb85c92a185ca7a48
crypto/x509: skip TestSystemRoots

cgo and non-cgo code paths can disagree
on the number of root certificates:
=== RUN   TestSystemRoots
--- FAIL: TestSystemRoots (0.31s)
    root_darwin_test.go:31:     cgo sys roots: 93.605184ms
    root_darwin_test.go:32: non-cgo sys roots: 213.998586ms
    root_darwin_test.go:44: got 168 roots
    root_darwin_test.go:44: got 427 roots
    root_darwin_test.go:73: insufficient overlap between cgo and non-cgo roots; want at least 213, have 168
FAIL
exit status 1

Updates #21416
Updates #24652

Change-Id: Idb6d35b17c142dfff79a10cf6b40a42d12f9d17e
Reviewed-on: https://go-review.googlesource.com/125259
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/x509/root_darwin_test.go