mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Update Setup.Tests.ps1
This commit is contained in:
parent
b7f65acfa3
commit
101475d0db
@ -535,6 +535,9 @@ Describe "Setup Tests" -Tags "Setup" {
|
|||||||
if (Test-Path -Path $logFolderPath) {
|
if (Test-Path -Path $logFolderPath) {
|
||||||
$logACL = Get-Acl $logFolderPath
|
$logACL = Get-Acl $logFolderPath
|
||||||
}
|
}
|
||||||
|
if ((Get-Service sshd).Status -eq 'Running') {
|
||||||
|
net stop sshd
|
||||||
|
}
|
||||||
}
|
}
|
||||||
AfterAll {
|
AfterAll {
|
||||||
$tC++
|
$tC++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user