-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure
Description
It looks like a PSVersionTable test is failing in CI, possibly because of a change to the version of System.Management.Automation.dll:
PowerShell/test/powershell/Host/PSVersionTable.Tests.ps1
Lines 6 to 24 in 945a232
| $sma = Get-Item (Join-Path $PSHOME "System.Management.Automation.dll") | |
| $formattedVersion = $sma.VersionInfo.ProductVersion | |
| $mainVersionPattern = "(\d+\.\d+\.\d+)(-.+)?" | |
| $fullVersionPattern = "^(\d+\.\d+\.\d+)(-.+)?-(\d+)-g(.+)$" | |
| $expectedPSVersion = ($formattedVersion -split " ")[0] | |
| $expectedVersionPattern = "^$mainVersionPattern$" | |
| if ($formattedVersion.Contains(" Commits: ")) | |
| { | |
| $rawGitCommitId = $formattedVersion.Replace(" Commits: ", "-").Replace(" SHA: ", "-g") | |
| $expectedGitCommitIdPattern = $fullVersionPattern | |
| $unexpectectGitCommitIdPattern = "qwerty" | |
| } else { | |
| $rawGitCommitId = ($formattedVersion -split " SHA: ")[0] | |
| $expectedGitCommitIdPattern = "^$mainVersionPattern$" | |
| $unexpectectGitCommitIdPattern = $fullVersionPattern | |
| } |
Metadata
Metadata
Assignees
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure