• Martin Möhrmann's avatar
    crypto/x509: skip TestSystemRoots · 0fb0f575
    Martin Möhrmann authored
    golang.org/cl/36941 enabled loading of all trusted certs on darwin
    for the non-cgo execSecurityRoots.
    
    The corresponding cgo version golang.org/cl/36942 for systemRootsPool
    has not been merged yet.
    
    This tests fails reliably on some darwin systems:
    --- FAIL: TestSystemRoots (1.28s)
            root_darwin_test.go:31:     cgo sys roots: 353.552363ms
            root_darwin_test.go:32: non-cgo sys roots: 921.85297ms
            root_darwin_test.go:44: got 169 roots
            root_darwin_test.go:44: got 455 roots
            root_darwin_test.go:73: insufficient overlap between cgo and non-cgo roots; want at least 227, have 168
    FAIL
    FAIL    crypto/x509     2.445s
    
    Updates #16532
    Updates #21416
    
    Change-Id: I52c2c847651fb3621fdb6ab858ebe8e28894c201
    Reviewed-on: https://go-review.googlesource.com/57830
    Run-TryBot: Martin Möhrmann <moehrmann@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarJoe Tsai <thebrokentoaster@gmail.com>
    0fb0f575
Name
Last commit
Last update
..
pkix Loading commit data...
testdata Loading commit data...
cert_pool.go Loading commit data...
example_test.go Loading commit data...
pem_decrypt.go Loading commit data...
pem_decrypt_test.go Loading commit data...
pkcs1.go Loading commit data...
pkcs8.go Loading commit data...
pkcs8_test.go Loading commit data...
root.go Loading commit data...
root_bsd.go Loading commit data...
root_cgo_darwin.go Loading commit data...
root_darwin.go Loading commit data...
root_darwin_arm_gen.go Loading commit data...
root_darwin_armx.go Loading commit data...
root_darwin_test.go Loading commit data...
root_linux.go Loading commit data...
root_nacl.go Loading commit data...
root_nocgo_darwin.go Loading commit data...
root_plan9.go Loading commit data...
root_solaris.go Loading commit data...
root_unix.go Loading commit data...
root_unix_test.go Loading commit data...
root_windows.go Loading commit data...
sec1.go Loading commit data...
sec1_test.go Loading commit data...
sha2_windows_test.go Loading commit data...
test-file.crt Loading commit data...
verify.go Loading commit data...
verify_test.go Loading commit data...
x509.go Loading commit data...
x509_test.go Loading commit data...
x509_test_import.go Loading commit data...