mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
Add DotnetTLS Pester test
This commit is contained in:
@@ -14,4 +14,12 @@ Describe "Kind" {
|
||||
It "Kind" {
|
||||
"kind version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "DotnetTLS" {
|
||||
It "Tls 1.2 is enabled" {
|
||||
$protocols = [Net.ServicePointManager]::SecurityProtocol
|
||||
$protocolArr = $protocols -split ', '
|
||||
$protocolArr.Contains('Tls12') | Should -BeTrue
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user