mirror of
https://github.com/actions/runner-images.git
synced 2025-12-28 04:38:53 +08:00
[windows] missing openssl pester tests (#8351)
add tests for
(*) OpenSSL location
(*) OpenSSL package type ("full" is required)
This commit is contained in:
@@ -225,8 +225,16 @@ Describe "SQL OLEDB Driver" {
|
||||
}
|
||||
|
||||
Describe "OpenSSL" {
|
||||
It "OpenSSL" {
|
||||
It "OpenSSL Version" {
|
||||
$OpenSSLVersion = (Get-ToolsetContent).openssl.version
|
||||
openssl version | Should -BeLike "* ${OpenSSLVersion}*"
|
||||
}
|
||||
|
||||
It "OpenSSL Path" {
|
||||
(Get-Command openssl).Source -eq (Join-Path ${env:ProgramFiles} 'OpenSSL\bin\openssl.exe') | Should -Be $true
|
||||
}
|
||||
|
||||
It "OpenSSL Full package" {
|
||||
Join-Path ${env:ProgramFiles} 'OpenSSL\include' | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user