mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-14 05:39:11 +00:00
Test changes needed for running in a container (#7869)
This commit is contained in:
1 parent
cc44781b5b
commit
98cf44cdec
4 files changed
+40
-27
No files matched your search
@@ -48,7 +48,8 @@ Describe 'Online help tests for PowerShell Core Cmdlets' -Tags "CI" {
|
||||
Describe 'Get-Help -Online opens the default web browser and navigates to the cmdlet help content' -Tags "Feature" {
|
||||
|
||||
$skipTest = [System.Management.Automation.Platform]::IsIoT -or
|
||||
[System.Management.Automation.Platform]::IsNanoServer
|
||||
[System.Management.Automation.Platform]::IsNanoServer -or
|
||||
$env:__InContainer -eq 1
|
||||
|
||||
# this code is a workaround for issue: https://github.com/PowerShell/PowerShell/issues/3079
|
||||
if((-not ($skipTest)) -and $IsWindows)
|
||||
|
||||
Reference in new issue
Block a user