mirror of
https://github.com/actions/runner-images.git
synced 2026-01-03 16:49:11 +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" {
|
Describe "OpenSSL" {
|
||||||
It "OpenSSL" {
|
It "OpenSSL Version" {
|
||||||
$OpenSSLVersion = (Get-ToolsetContent).openssl.version
|
$OpenSSLVersion = (Get-ToolsetContent).openssl.version
|
||||||
openssl version | Should -BeLike "* ${OpenSSLVersion}*"
|
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