mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-17 15:28:16 +00:00
[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:
committed by
GitHub
parent
57cf70f791
commit
4a8cc99a63
@@ -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