mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Enable two previously disabled Get-Process tests (#15845)
This commit is contained in:
@@ -70,8 +70,7 @@ Describe "Get-Process" -Tags "CI" {
|
||||
{ (Get-Process -Id $idleProcessPid).Name } | Should -Not -Throw
|
||||
}
|
||||
|
||||
It "Test for process property = Name" -Pending {
|
||||
# Bug in .Net 5.0 Preview4. See https://github.com/PowerShell/PowerShell/pull/12894
|
||||
It "Test for process property = Name" {
|
||||
(Get-Process -Id $PID).Name | Should -BeExactly "pwsh"
|
||||
}
|
||||
|
||||
@@ -129,8 +128,7 @@ Describe "Get-Process Formatting" -Tags "Feature" {
|
||||
}
|
||||
|
||||
Describe "Process Parent property" -Tags "CI" {
|
||||
It "Has Parent process property" -Pending {
|
||||
# Bug in .Net 5.0 Preview4. See https://github.com/PowerShell/PowerShell/pull/12894
|
||||
It "Has Parent process property" {
|
||||
$powershellexe = (Get-Process -Id $PID).mainmodule.filename
|
||||
& $powershellexe -noprofile -command '(Get-Process -Id $PID).Parent' | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user