mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Make logging tests for macOS pending (#7433)
This commit is contained in:
@@ -201,7 +201,10 @@ Describe 'Basic os_log tests on MacOS' -Tag @('CI','RequireSudoOnUnix') {
|
||||
}
|
||||
}
|
||||
|
||||
It 'Verifies basic logging with no customizations' -Skip:(!$IsSupportedEnvironment) {
|
||||
## Logging seems broken on macOS 10.13. It works fine on macOS 10.12.6.
|
||||
## Travis CI updated macOS to 10.13.3 (kernel 17.4) and the logging tests start to fail.
|
||||
# It 'Verifies basic logging with no customizations' -Skip:(!$IsSupportedEnvironment) {
|
||||
It 'Verifies basic logging with no customizations' -Pending {
|
||||
$configFile = WriteLogSettings -LogId $logId
|
||||
& $powershell -NoProfile -SettingsFile $configFile -Command '$env:PSModulePath | out-null'
|
||||
|
||||
@@ -220,7 +223,8 @@ Describe 'Basic os_log tests on MacOS' -Tag @('CI','RequireSudoOnUnix') {
|
||||
}
|
||||
}
|
||||
|
||||
It 'Verifies logging level filtering works' -Skip:(!$IsSupportedEnvironment) {
|
||||
# It 'Verifies logging level filtering works' -Skip:(!$IsSupportedEnvironment) {
|
||||
It 'Verifies logging level filtering works' -Pending {
|
||||
$configFile = WriteLogSettings -LogId $logId -LogLevel Warning
|
||||
& $powershell -NoProfile -SettingsFile $configFile -Command '$env:PSModulePath | out-null'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user