Comment out sshd service stop command to test CI

This commit is contained in:
Tess Gauthier 2025-02-05 12:13:48 -05:00 committed by GitHub
parent 5e03aaaee9
commit 30459c518b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
If ($PSVersiontable.PSVersion.Major -le 2) {$PSScriptRoot = Split-Path -Parent $MyInvocation.MyCommand.Path}
If ($PSVersiontable.PSVersion.Major -le 2) {$PSScriptRoot = Split-Path -Parent $MyInvocation.MyCommand.Path}
Import-Module $PSScriptRoot\CommonUtils.psm1 -Force
$suite = "Setup"
$tC = 1
@ -535,9 +535,9 @@ Describe "Setup Tests" -Tags "Setup" {
if (Test-Path -Path $logFolderPath) {
$logACL = Get-Acl $logFolderPath
}
if ((Get-Service sshd).Status -eq 'Running') {
net stop sshd
}
#if ((Get-Service sshd).Status -eq 'Running') {
# net stop sshd
#}
}
AfterAll {
$tC++