Problem: tests: Test_term_gettty() fails when using conpty on Windows,
CI uses winpty, so this test passes.
Solution: Skip the test Test_term_gettty(). Since conpty communicates
via anonymous pipes, there is no name that can be obtained
with term_gettty() (Muraoka Taro)
closes: #18954
Signed-off-by: Muraoka Taro <koron.kaoriya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
CheckFeature terminal
else
var buf = g:Run_shell_in_terminal({})
+ if has('win32') && buf->term_getjob()->job_info()['tty_type'] == 'conpty'
+ throw 'Skipped: When using conpty, term_gettty() always returns an empty string.'
+ endif
term_gettty(buf, true)->assert_notequal('')
g:StopShellInTerminal(buf)
endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1990,
/**/
1989,
/**/