- Fixed failing PackageManagement related tests in daily-builds (#2759)

- Updated Restore-PSModule function to delete the PSGetModuleInfo.xml so that this file will not be included in the PowerShell release.
- Since PackageManagement module gets installed with PowerShellGet module, removed PackageManagement module name in Restore-PSModule command invocation.
This commit is contained in:
Manikyam Bavandla
2016-11-21 17:36:51 -08:00
committed by Dongbo Wang
parent cac96e5fc9
commit 67e9bf6376
3 changed files with 15 additions and 9 deletions
@@ -103,14 +103,14 @@ $testCases = @{
HelpFiles = "Microsoft.PowerShell.PackageManagement.dll-help.xml"
HelpInfoFiles = "PackageManagement_4ae9fd46-338a-459c-8186-07f910774cb8_HelpInfo.xml"
CompressedFiles = "PackageManagement_4ae9fd46-338a-459c-8186-07f910774cb8_en-US_helpcontent$extension"
HelpInstallationPath = "$pshome\Modules\PackageManagement\en-US"
HelpInstallationPath = "$pshome\Modules\PackageManagement\*\en-US"
}
"PowershellGet" = @{
HelpFiles = "PSGet.psm1-help.xml"
HelpInfoFiles = "PowershellGet_1d73a601-4a6c-43c5-ba3f-619b18bbb404_HelpInfo.xml"
CompressedFiles = "PowershellGet_1d73a601-4a6c-43c5-ba3f-619b18bbb404_en-US_helpcontent$extension"
HelpInstallationPath = "$pshome\Modules\PowershellGet\en-US"
HelpInstallationPath = "$pshome\Modules\PowershellGet\*\en-US"
}
"PSReadline" = @{