[Windows] Update google updater service name parser (#9738)

This commit is contained in:
sergei-pyshnoi
2024-04-24 22:49:24 +02:00
committed by GitHub
parent a420c2896e
commit cb3f1150db
2 changed files with 6 additions and 9 deletions

View File

@@ -28,14 +28,11 @@ Describe "Chrome" {
$versionInfo | Should -Not -BeNullOrEmpty
}
It "gupdate service is stopped" {
$svc = Get-Service -Name gupdate
$svc.Status | Should -BeExactly Stopped
}
It "gupdatem service is stopped" {
$svc = Get-Service -Name gupdatem
$svc.Status | Should -BeExactly Stopped
It "GoogleUpdater services is stopped" {
$services = Get-Service -Name "GoogleUpdater*"
foreach ($svc in $services) {
$svc.Status | Should -BeExactly 'Stopped'
}
}
It "BlockGoogleUpdate firewall rule exists" {