diff --git a/build.psm1 b/build.psm1 index ad3fc75667..a51fbea777 100644 --- a/build.psm1 +++ b/build.psm1 @@ -336,7 +336,7 @@ function Start-PSxUnit { } $Content = Split-Path -Parent (Get-PSOutput) - $Arguments = "--configuration", "Linux" + $Arguments = "--configuration", "Linux", "-verbose", "-parallel", "none" try { Push-Location $PSScriptRoot/test/csharp # Path manipulation to obtain test project output directory diff --git a/test/csharp/project.json b/test/csharp/project.json index 9ba4065135..88cbbfcf5d 100644 --- a/test/csharp/project.json +++ b/test/csharp/project.json @@ -5,7 +5,7 @@ "authors": [ "andschwa" ], "dependencies": { - "Microsoft.PowerShell.ConsoleHost": "1.0.0-*" + "powershell": "1.0.0-*" }, "frameworks": { @@ -13,7 +13,7 @@ "imports": [ "dnxcore50", "portable-net45+win8" ], "dependencies": { "xunit": "2.1.0", - "dotnet-test-xunit": "1.0.0-rc2-173384-19" + "dotnet-test-xunit": "1.0.0-rc2-192208-24" } } }, diff --git a/test/csharp/test_Runspace.cs b/test/csharp/test_Runspace.cs index 687a7afc01..dcde801f75 100644 --- a/test/csharp/test_Runspace.cs +++ b/test/csharp/test_Runspace.cs @@ -12,7 +12,7 @@ namespace PSTests public class RunspaceTests { private static int count = 3; - private static string script = String.Format($"get-process | select-object -first {count}"); + private static string script = String.Format($"get-command | select-object -first {count}"); [Fact] public void TestRunspaceWithPipeline()