0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.2256: test for ":term ++shell" fails on MS-Windows

Problem:    Test for ":term ++shell" fails on MS-Windows.
Solution:   Accept failure of "dir" executable.
This commit is contained in:
Bram Moolenaar
2019-11-04 23:36:29 +01:00
parent 2d6d76f9cd
commit e5a3272d32
2 changed files with 3 additions and 1 deletions

View File

@@ -2227,7 +2227,7 @@ func Test_terminal_shell_option()
elseif has('win32') elseif has('win32')
" dir is a shell builtin command, should fail without a shell. " dir is a shell builtin command, should fail without a shell.
term dir /b runtest.vim term dir /b runtest.vim
call WaitForAssert({-> assert_match('job failed', term_getline(bufnr(), 1))}) call WaitForAssert({-> assert_match('job failed\|cannot access .*: No such file or directory', term_getline(bufnr(), 1))})
bwipe! bwipe!
term ++shell dir /b runtest.vim term ++shell dir /b runtest.vim

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2256,
/**/ /**/
2255, 2255,
/**/ /**/