mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Mark System32-PSModulePath test as pending (#11576)
This commit is contained in:
+2
-1
@@ -512,7 +512,8 @@ Describe "PSModulePath changes interacting with other PowerShell processes" -Tag
|
||||
}
|
||||
}
|
||||
|
||||
It "Does not duplicate the System32 module path in subprocesses" {
|
||||
<# Remove Pending status and update test after issue #11575 is fixed #>
|
||||
It "Does not duplicate the System32 module path in subprocesses" -Pending:$true {
|
||||
$sys32ModPathCount = pwsh.exe -C {
|
||||
pwsh.exe -C '$null = $env:PSModulePath -match ([regex]::Escape((Join-Path $env:windir "System32" "WindowsPowerShell" "v1.0" "Modules"))); $matches.Count'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user