aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/crypto/x509/root_omit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/x509/root_omit_test.go')
-rw-r--r--libgo/go/crypto/x509/root_omit_test.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/libgo/go/crypto/x509/root_omit_test.go b/libgo/go/crypto/x509/root_omit_test.go
deleted file mode 100644
index 158bd7f..0000000
--- a/libgo/go/crypto/x509/root_omit_test.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-//go:build ((darwin && arm64) || (darwin && amd64 && ios)) && x509omitbundledroots
-// +build darwin,arm64 darwin,amd64,ios
-// +build x509omitbundledroots
-
-package x509
-
-import (
- "strings"
- "testing"
-)
-
-func TestOmitBundledRoots(t *testing.T) {
- cp, err := loadSystemRoots()
- if err == nil {
- t.Fatalf("loadSystemRoots = (pool %p, error %v); want non-nil error", cp, err)
- }
- if !strings.Contains(err.Error(), "root bundling disabled") {
- t.Errorf("unexpected error doesn't mention bundling: %v", err)
- }
-}