[macOS] Update openssl from 1.1 to 3 (#10851)

This commit is contained in:
sarathrajsrinivasan
2024-10-24 02:44:06 -07:00
committed by GitHub
parent 4c67970f91
commit d4872d4c2e
2 changed files with 12 additions and 12 deletions

View File

@@ -7,17 +7,17 @@ Describe "OpenSSL" {
}
}
Context "OpenSSL 1.1 Path Check" {
It "OpenSSL 1.1 path exists" {
$openSSLpath = brew --prefix openssl@1.1
Context "OpenSSL 3 Path Check" {
It "OpenSSL 3 path exists" {
$openSSLpath = brew --prefix openssl@3
$openSSLpath | Should -Exist
}
}
Context "OpenSSL 1.1 is default" {
It "Default OpenSSL version is 1.1" {
Context "OpenSSL 3 is default" {
It "Default OpenSSL version is 3" {
$commandResult = Get-CommandResult "openssl version"
$commandResult.Output | Should -Match "OpenSSL 1.1"
$commandResult.Output | Should -Match "OpenSSL 3"
}
}
}