From 6cd7804fb0dc69f87d950661050df752b3262f25 Mon Sep 17 00:00:00 2001 From: Andy Schwartzmeyer Date: Thu, 12 May 2016 13:03:28 -0700 Subject: [PATCH] Mark redirected input test as pending on Windows While this passes on Linux, it does not pass on Windows, indicating a platform-specific bug in .NET Core. --- test/powershell/ConsoleHost.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/powershell/ConsoleHost.Tests.ps1 b/test/powershell/ConsoleHost.Tests.ps1 index 89c145230..9b451c673 100644 --- a/test/powershell/ConsoleHost.Tests.ps1 +++ b/test/powershell/ConsoleHost.Tests.ps1 @@ -93,7 +93,8 @@ Describe "ConsoleHost unit tests" { $nl = [Environment]::Newline - It "Redirected input" { + # Redirected input is broken on Windows in .NET Core + It "Redirected input" -Pending:$IsWindows { $si = NewProcessStartInfo "-noprofile ""`$function:prompt = { 'PS> ' }""" -RedirectStdIn $process = RunPowerShell $si $process.StandardInput.Write("1+1`n")