]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: rename duplicated test
authorRoland Shoemaker <roland@golang.org>
Fri, 23 Jun 2023 19:07:19 +0000 (12:07 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 23 Jun 2023 19:48:23 +0000 (19:48 +0000)
Rename the old TestPlatformVerifier to TestPlatformVerifierLegacy, and
add TODO about removing it once the synthetic root is widely deployed on
builders.

Updates #52108

Change-Id: I6cdba268e4738804c7f76ea18c354470b3e0318c
Reviewed-on: https://go-review.googlesource.com/c/go/+/505755
Run-TryBot: Roland Shoemaker <roland@golang.org>
Auto-Submit: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/crypto/x509/root_darwin_test.go
src/crypto/x509/root_windows_test.go

index df7ca993089c75ac68a3cbdb01dc43dce2eea679..e6b52e9f9179688118560d4466d3e616659fc878 100644 (file)
@@ -12,7 +12,9 @@ import (
        "time"
 )
 
-func TestPlatformVerifier(t *testing.T) {
+func TestPlatformVerifierLegacy(t *testing.T) {
+       // TODO(#52108): This can be removed once the synthetic test root is deployed on
+       // builders.
        if !testenv.HasExternalNetwork() {
                t.Skip()
        }
index 54dbc161dceb0bdb3ac2d1e134fa5fd0604a945e..1372c043b202f63eee5c73138ca8d33bbae74de4 100644 (file)
@@ -16,7 +16,9 @@ import (
        "time"
 )
 
-func TestPlatformVerifier(t *testing.T) {
+func TestPlatformVerifierLegacy(t *testing.T) {
+       // TODO(#52108): This can be removed once the synthetic test root is deployed on
+       // builders.
        if !testenv.HasExternalNetwork() {
                t.Skip()
        }