mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Enable two previously disabled Get-Process tests (#15845)
This commit is contained in:
1 parent
2afa687b04
commit
d36dc85612
1 file changed
+2
-4
@@ -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