made powershell invoke compatible with linux
This commit is contained in:
parent
a51618aa4c
commit
6fea33379d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ $pesterCommand | Export-Clixml -Path $testResultPath
|
||||||
Write-Verbose -Message "command: '$command'" -Verbose
|
Write-Verbose -Message "command: '$command'" -Verbose
|
||||||
$bytes = [System.Text.Encoding]::Unicode.GetBytes($command)
|
$bytes = [System.Text.Encoding]::Unicode.GetBytes($command)
|
||||||
$encodedCommand = [Convert]::ToBase64String($bytes)
|
$encodedCommand = [Convert]::ToBase64String($bytes)
|
||||||
&"$PSHOME/Powershell.exe" -encodedCommand $encodedCommand
|
&"$PSHOME/powershell" -encodedCommand $encodedCommand
|
||||||
|
|
||||||
it "Should have test results file" {
|
it "Should have test results file" {
|
||||||
$testResultPath | should exist
|
$testResultPath | should exist
|
||||||
|
|
Loading…
Reference in a new issue