@@ -155,7 +155,7 @@ Describe 'Basic SysLog tests on Linux' -Tag @('CI','RequireSudoOnUnix') {
155155 Write-Warning - Message ' Unsupported Linux syslog configuration.'
156156 $IsSupportedEnvironment = $false
157157 }
158- [string ] $powershell = Join-Path - Path $PSHome - ChildPath ' pwsh'
158+ [string ] $powershell = Join-Path - Path $PSHOME - ChildPath ' pwsh'
159159 $scriptBlockCreatedRegExTemplate = @"
160160Creating Scriptblock text \(1 of 1\):#012{0}(⏎|#012)*ScriptBlock ID: [0-9a-z\-]*#012Path:.*
161161"@
@@ -273,7 +273,7 @@ Describe 'Basic os_log tests on MacOS' -Tag @('CI','RequireSudoOnUnix') {
273273 Set-OsLogPersistence - Enable
274274 }
275275 }
276- [string ] $powershell = Join-Path - Path $PSHome - ChildPath ' pwsh'
276+ [string ] $powershell = Join-Path - Path $PSHOME - ChildPath ' pwsh'
277277 $scriptBlockCreatedRegExTemplate = @'
278278Creating Scriptblock text \(1 of 1\):
279279{0}
436436Describe ' Basic EventLog tests on Windows' - Tag @ (' CI' , ' RequireAdminOnWindows' ) {
437437 BeforeAll {
438438 [bool ] $IsSupportedEnvironment = $IsWindows
439- [string ] $powershell = Join-Path - Path $PSHome - ChildPath ' pwsh'
439+ [string ] $powershell = Join-Path - Path $PSHOME - ChildPath ' pwsh'
440440 $scriptBlockLoggingCases = @ (
441441 @ {
442442 name = ' normal script block'
@@ -452,7 +452,7 @@ Describe 'Basic EventLog tests on Windows' -Tag @('CI','RequireAdminOnWindows')
452452
453453 if ($IsSupportedEnvironment )
454454 {
455- & " $PSHome \RegisterManifest.ps1"
455+ & " $PSHOME \RegisterManifest.ps1"
456456 }
457457 }
458458
0 commit comments