changeset 18524:ef397aa47dd4 v8.1.2256

patch 8.1.2256: test for ":term ++shell" fails on MS-Windows Commit: https://github.com/vim/vim/commit/e5a3272d32ad52f905ef3e66991871dbef2245e7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 4 23:36:29 2019 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Nov 2019 23:45:04 +0100
parents b5f70c3bcb33
children 99adbfe3dde3
files src/testdir/test_terminal.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -2227,7 +2227,7 @@ func Test_terminal_shell_option()
   elseif has('win32')
     " dir is a shell builtin command, should fail without a shell.
     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!
 
     term ++shell dir /b runtest.vim
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2256,
+/**/
     2255,
 /**/
     2254,