]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.20] 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:29:47 +0000 (17:29 +0000)
commit746a07279154dc57291d9f67d0e256492baa9a6c
tree320c0a0811319dd8bb1bf607f0837b36b18f7bca
parentd7df7f4fa01f1b445d835fc908c54448a63c68fb
[release-branch.go1.20] 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 #65379

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/+/559516
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/x509/verify_test.go