Details
Description
getBuildInfo() on a mac currently returns only `macOS` without specifics about the version. It would be able to detect quirks (such as TLS handling on 10.15+) during jstests, so add the version to the build info output.
It appears we can use sysctlbyname to pull this information, something like:
char buffer[64];
|
size_t buffer_len = sizeof(buffer) - 1;
|
sysctlbyname("kern.osproductversion", buffer, &buffer_len, nullptr, 0);
|
buffer[buffer_len] = 0;
|
Attachments
Issue Links
- is depended on by
-
SERVER-56364 Disable ssl and sslSpecial suites on macOS >= 10.15 (temporarily)
-
- Closed
-
- is documented by
-
DOCS-14396 Investigate changes in SERVER-56362: Add macOS version to build info
-
- Closed
-
- related to
-
SERVER-53417 Reenable macOS dynamical builders
-
- Closed
-