Update Setup.Tests.ps1

This commit is contained in:
Tess Gauthier 2025-02-04 14:11:51 -05:00 committed by GitHub
parent b7f65acfa3
commit 101475d0db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -535,6 +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
}
}
AfterAll {
$tC++