]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] crypto/x509: properly gate test on macos version
authorRoland Shoemaker <roland@golang.org>
Tue, 12 Dec 2023 17:28:03 +0000 (09:28 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jan 2024 17:30:51 +0000 (17:30 +0000)
commit3960318b87ffa4a229f2e8f7fd5a6f43336a5eb4
tree00029e7381bc10380012ab6d2161832835846f18
parent00f974eb1f1ecbdf0d16667cd82a5aec16216d7f
[release-branch.go1.21] crypto/x509: properly gate test on macos version

Fixes the gating of TestIssue51759 by shelling out to sw_vers to check
what version of macOS we are on.

For #64677
Fixes #65380

Change-Id: I5eef4fa39e5449e7b2aa73864625c3abf002aef8
Reviewed-on: https://go-review.googlesource.com/c/go/+/549195
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit 400e24a8be852e7b20eb4af1999b28c20bb4ea21)
Reviewed-on: https://go-review.googlesource.com/c/go/+/559517
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/x509/verify_test.go