diff --git a/test/powershell/engine/Help/HelpSystem.Tests.ps1 b/test/powershell/engine/Help/HelpSystem.Tests.ps1 index b72a98616..27f4cb39d 100644 --- a/test/powershell/engine/Help/HelpSystem.Tests.ps1 +++ b/test/powershell/engine/Help/HelpSystem.Tests.ps1 @@ -77,7 +77,7 @@ Describe "Validate that //default.help.txt is present" -Tags @( } } -Describe "Validate that get-help works" -Tags @('CI', 'RequireAdminOnWindows') { +Describe "Validate that get-help works" -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue" @@ -88,7 +88,7 @@ Describe "Validate that get-help works" -Tags @('CI', 'RequireAdmin RunTestCase -tag "CI" } -Describe "Validate Get-Help for all cmdlets in 'Microsoft.PowerShell.Core'" -Tags @('Feature', 'RequireAdminOnWindows') { +Describe "Validate Get-Help for all cmdlets in 'Microsoft.PowerShell.Core'" -Tags @('Feature', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue" @@ -100,7 +100,7 @@ Describe "Validate Get-Help for all cmdlets in 'Microsoft.PowerShell.Core'" -Tag RunTestCase -tag "Feature" } -Describe "Validate that Get-Help returns provider-specific help" -Tags @('CI', 'RequireAdminOnWindows') { +Describe "Validate that Get-Help returns provider-specific help" -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue" @@ -184,7 +184,7 @@ Describe "Validate that Get-Help returns provider-specific help" -Tags @('CI', ' } } -Describe "Validate about_help.txt under culture specific folder works" -Tags @('CI', 'RequireAdminOnWindows') { +Describe "Validate about_help.txt under culture specific folder works" -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $modulePath = "$pshome\Modules\Test" $null = New-Item -Path $modulePath\en-US -ItemType Directory -Force @@ -220,7 +220,7 @@ Describe "Validate about_help.txt under culture specific folder works" -Tags @(' } } -Describe "Get-Help should find help info within help files" -Tags @('CI', 'RequireAdminOnWindows') { +Describe "Get-Help should find help info within help files" -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { It "Get-Help should find help files under pshome" { $helpFile = "about_testCase.help.txt" $culture = (Get-Culture).Name diff --git a/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 b/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 index 3f193728f..8ba828c37 100644 --- a/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 +++ b/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 @@ -276,7 +276,7 @@ function ValidateSaveHelp $expectedHelpInfoFile | Should Be $helpInfoFile } -Describe "Validate Update-Help from the Web for one PowerShell Core module." -Tags @('CI', 'RequireAdminOnWindows') { +Describe "Validate Update-Help from the Web for one PowerShell Core module." -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue" @@ -288,7 +288,7 @@ Describe "Validate Update-Help from the Web for one PowerShell Core module." -Ta RunUpdateHelpTests -tag "CI" -Pending } -Describe "Validate Update-Help from the Web for all PowerShell Core modules." -Tags @('Feature', 'RequireAdminOnWindows') { +Describe "Validate Update-Help from the Web for all PowerShell Core modules." -Tags @('Feature', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue" @@ -300,7 +300,7 @@ Describe "Validate Update-Help from the Web for all PowerShell Core modules." -T RunUpdateHelpTests -tag "Feature" } -Describe "Validate Update-Help -SourcePath for one PowerShell Core module." -Tags @('CI', 'RequireAdminOnWindows') { +Describe "Validate Update-Help -SourcePath for one PowerShell Core module." -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue" @@ -312,7 +312,7 @@ Describe "Validate Update-Help -SourcePath for one PowerShell Core module." -Tag RunUpdateHelpTests -tag "CI" -useSourcePath } -Describe "Validate Update-Help -SourcePath for all PowerShell Core modules." -Tags @('Feature', 'RequireAdminOnWindows') { +Describe "Validate Update-Help -SourcePath for all PowerShell Core modules." -Tags @('Feature', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { BeforeAll { $SavedProgressPreference = $ProgressPreference $ProgressPreference = "SilentlyContinue"