From 0593c0def75e77429281d06a348e40f1535336d9 Mon Sep 17 00:00:00 2001 From: Victor Hurdugaci Date: Mon, 11 May 2015 14:34:05 -0700 Subject: [PATCH] Add the exit code to the remote result --- test/RemoteTest.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/RemoteTest.ps1 b/test/RemoteTest.ps1 index 43aad53202..74704f2cbf 100644 --- a/test/RemoteTest.ps1 +++ b/test/RemoteTest.ps1 @@ -28,7 +28,7 @@ $remoteScript = { dir $env:DNX_TRACE=1 $testResult = & .\test.cmd 2>&1 - $testResult + $testResult = & $lastexitcode } Write-Host ">>>> Remote code execution started <<<<"