Skip to content

Commit 9eabbcd

Browse files
[windows] missing openssl pester tests (#8351)
add tests for (*) OpenSSL location (*) OpenSSL package type ("full" is required)
1 parent 2cbf4a7 commit 9eabbcd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

images/win/scripts/Tests/Tools.Tests.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,16 @@ Describe "SQL OLEDB Driver" {
225225
}
226226

227227
Describe "OpenSSL" {
228-
It "OpenSSL" {
228+
It "OpenSSL Version" {
229229
$OpenSSLVersion = (Get-ToolsetContent).openssl.version
230230
openssl version | Should -BeLike "* ${OpenSSLVersion}*"
231231
}
232+
233+
It "OpenSSL Path" {
234+
(Get-Command openssl).Source -eq (Join-Path ${env:ProgramFiles} 'OpenSSL\bin\openssl.exe') | Should -Be $true
235+
}
236+
237+
It "OpenSSL Full package" {
238+
Join-Path ${env:ProgramFiles} 'OpenSSL\include' | Should -Exist
239+
}
232240
}

0 commit comments

Comments
 (0)