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.
This commit is contained in:
Andy Schwartzmeyer authored and Andrew Schwartzmeyer committed 2016-05-17 13:28:44 -07:00
1 parent fbc794b933
commit 6cd7804fb0
1 file changed
+2 -1
+2 -1
View File
@@ -93,7 +93,8 @@ Describe "ConsoleHost unit tests" {
$nl = [Environment]::Newline $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 $si = NewProcessStartInfo "-noprofile ""`$function:prompt = { 'PS> ' }""" -RedirectStdIn
$process = RunPowerShell $si $process = RunPowerShell $si
$process.StandardInput.Write("1+1`n") $process.StandardInput.Write("1+1`n")