[macos] pester: Replace service status stopped to none (#4677)
* pester: Replace service status stopped to none * validate stopped or none
This commit is contained in:
@@ -6,7 +6,7 @@ Describe "Apache" -Skip:($os.IsLessThanCatalina) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
It "Apache Service" {
|
It "Apache Service" {
|
||||||
brew services list | Out-String | Should -Match "httpd\s+stopped"
|
brew services list | Out-String | Should -Match "httpd\s+(stopped|none)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -16,6 +16,6 @@ Describe "Nginx" -Skip:($os.IsLessThanCatalina) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
It "Nginx Service" {
|
It "Nginx Service" {
|
||||||
brew services list | Out-String | Should -Match "nginx\s+stopped"
|
brew services list | Out-String | Should -Match "nginx\s+(stopped|none)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user