From 6d7b6a10f60b6bdd256598818a4ef857b5cb77de Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 11 May 2016 15:44:31 -0700 Subject: [PATCH] Skip complex prompting tests Not supported with non-PSReadLine Open PowerShell host. --- test/powershell/ConsoleHost.Tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/powershell/ConsoleHost.Tests.ps1 b/test/powershell/ConsoleHost.Tests.ps1 index 9af2f7ec4..89c145230 100644 --- a/test/powershell/ConsoleHost.Tests.ps1 +++ b/test/powershell/ConsoleHost.Tests.ps1 @@ -107,7 +107,7 @@ Describe "ConsoleHost unit tests" { EnsureChildHasExited $process } - It "Redirected input explicit prompting" { + It "Redirected input explicit prompting" -Skip:$IsCore { $si = NewProcessStartInfo "-noprofile -File -" -RedirectStdIn $process = RunPowerShell $si $process.StandardInput.Write("`$function:prompt = { 'PS> ' }`n") @@ -120,7 +120,7 @@ Describe "ConsoleHost unit tests" { EnsureChildHasExited $process } - It "Redirected input no prompting" { + It "Redirected input no prompting" -Skip:$IsCore { $si = NewProcessStartInfo "-noprofile -" -RedirectStdIn $process = RunPowerShell $si $process.StandardInput.Write("1+1`n") @@ -129,7 +129,7 @@ Describe "ConsoleHost unit tests" { EnsureChildHasExited $process } - It "Redirected input w/ nested prompt" { + It "Redirected input w/ nested prompt" -Skip:$IsCore { $si = NewProcessStartInfo "-noprofile ""`$function:prompt = { 'PS' + ('>'*(`$nestedPromptLevel+1)) + ' ' }""" -RedirectStdIn $process = RunPowerShell $si $process.StandardInput.Write("`$host.EnterNestedPrompt()`n")