mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
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:
1 parent
fbc794b933
commit
6cd7804fb0
1 file changed
+2
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user