From 79a9294379d9bca3a12cd4b22ec69040deb21748 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 17 Mar 2016 17:12:54 -0700 Subject: [PATCH] Enable exit code from xUnit runner --- xunit.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xunit.sh b/xunit.sh index 6b0a7c7d55..aec4f65ddf 100755 --- a/xunit.sh +++ b/xunit.sh @@ -25,4 +25,7 @@ dotnet build cp -r ../../src/Microsoft.PowerShell.Linux.Host/{Modules,*ps1xml} bin/Debug/netstandardapp1.5/ubuntu.14.04-x64 ## Test dotnet test +result=$? popd + +exit $result