From 44bd923d22e5a6f328ab6635b9c60d7f916ae5f3 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Wed, 8 Mar 2017 16:38:05 -0800 Subject: [PATCH] Fix a test to use the targeted powershell rather than the system installed one (#3286) --- test/powershell/Host/ConsoleHost.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Host/ConsoleHost.Tests.ps1 b/test/powershell/Host/ConsoleHost.Tests.ps1 index 434a1dba9..000bbf861 100644 --- a/test/powershell/Host/ConsoleHost.Tests.ps1 +++ b/test/powershell/Host/ConsoleHost.Tests.ps1 @@ -399,7 +399,7 @@ foo $env:XDG_CACHE_HOME = "/dev/cpu" $env:XDG_DATA_HOME = "/dev/cpu" $env:XDG_CONFIG_HOME = "/dev/cpu" - $output = & powershell -noprofile -Command { (get-command).count } + $output = & $powershell -noprofile -Command { (get-command).count } [int]$output | Should BeGreaterThan 0 } }