]> Cypherpunks.ru repositories - gostls13.git/commit
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, 13 Dec 2023 00:22:17 +0000 (00:22 +0000)
commit400e24a8be852e7b20eb4af1999b28c20bb4ea21
treec544c3b23318455eb29e43a7da567b0d5199156a
parent89c532e8b29ae8ea944f6b6ba887d57ac5faf387
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.

Fixes #64677

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>
src/crypto/x509/verify_test.go