Update use of "PowerShell Core" to just "PowerShell" (#9513)

This commit is contained in:
Steve Lee authored and Dongbo Wang committed 2019-05-10 15:34:27 -07:00
1 parent ade85b4faa
commit a96b4c0404
60 files changed
+187 -187

No files matched your search

@@ -74,7 +74,7 @@ Describe "SxS Module Path Basic Tests" -tags "CI" {
}
}
It "ignore pshome module path derived from a different powershell core instance" -Skip:(!$IsCoreCLR -or $skipNoPwsh) {
It "ignore pshome module path derived from a different PowerShell instance" -Skip:(!$IsCoreCLR -or $skipNoPwsh) {
## Create 'powershell' and 'pwsh.deps.json' in the fake PSHome folder,
## so that the module path calculation logic would believe it's real.
@@ -83,7 +83,7 @@ Describe "SxS Module Path Basic Tests" -tags "CI" {
try {
## PSHome module path derived from another powershell core instance should be ignored
## PSHome module path derived from another PowerShell instance should be ignored
$env:PSModulePath = $fakePSHomeModuleDir
$newModulePath = & $powershell -nopro -c '$env:PSModulePath'
$paths = $newModulePath -split [System.IO.Path]::PathSeparator
@@ -113,9 +113,9 @@ Describe "SxS Module Path Basic Tests" -tags "CI" {
}
}
It "keep non-pshome module path derived from powershell core instance parent" -Skip:(!$IsCoreCLR -or $skipNoPwsh) {
It "keep non-pshome module path derived from PowerShell instance parent" -Skip:(!$IsCoreCLR -or $skipNoPwsh) {
## non-pshome module path derived from another powershell core instance should be preserved
## non-pshome module path derived from another PowerShell instance should be preserved
$customeModules = Join-Path -Path $TestDrive -ChildPath 'CustomModules'
$env:PSModulePath = $fakePSHomeModuleDir, $customeModules -join ([System.IO.Path]::PathSeparator)
$newModulePath = & $powershell -nopro -c '$env:PSModulePath'