Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

"Validate that get-help <cmdletName> works" test requires sudo to run on linux #3527

Copy link
Copy link
@TravisEz13

Description

@TravisEz13
Issue body actions

Steps to reproduce

Start-PSPester -binDir /opt/microsoft/powershell/6.0.0-alpha.18

Expected behavior

Tests should work

Actual behavior

Test at HelpSystem.Tests.ps1#L76
fails with:

Failed to update Help for the module(s) 'Microsoft.PowerShell.Core` with UI culture(s) {en-US} : Access to the path '/opt/microsoft/powershell/6.0.0-alpha.18/en-US/System.Management.Automation.dll-help.xml' is denied.

image

Additional tests failing similarly

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
GitCommitId                    v6.0.0-alpha.18
PSVersion                      6.0.0-alpha
PSRemotingProtocolVersion      2.3
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
PSEdition                      Core
BuildVersion                   3.0.0.0
CLRVersion
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.