From 6fea33379d642a67ec1f9f3ccc6f3905c666d773 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 20 Jul 2016 15:10:39 -0700 Subject: [PATCH] made powershell invoke compatible with linux --- test/powershell/SDK/CmdletExample.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/SDK/CmdletExample.Tests.ps1 b/test/powershell/SDK/CmdletExample.Tests.ps1 index 25f64e715..287ea3950 100644 --- a/test/powershell/SDK/CmdletExample.Tests.ps1 +++ b/test/powershell/SDK/CmdletExample.Tests.ps1 @@ -44,7 +44,7 @@ $pesterCommand | Export-Clixml -Path $testResultPath Write-Verbose -Message "command: '$command'" -Verbose $bytes = [System.Text.Encoding]::Unicode.GetBytes($command) $encodedCommand = [Convert]::ToBase64String($bytes) - &"$PSHOME/Powershell.exe" -encodedCommand $encodedCommand + &"$PSHOME/powershell" -encodedCommand $encodedCommand it "Should have test results file" { $testResultPath | should exist