diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-04 23:36:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-04 23:36:29 +0100 |
commit | e5a3272d32ad52f905ef3e66991871dbef2245e7 (patch) | |
tree | 2f6dd7e69da69bca230a4b4e42b71d6725fa2fd2 /src/testdir | |
parent | 2d6d76f9cd3c5dca0676491d7d60ff7685942487 (diff) | |
download | vim-git-e5a3272d32ad52f905ef3e66991871dbef2245e7.tar.gz |
patch 8.1.2256: test for ":term ++shell" fails on MS-Windowsv8.1.2256
Problem: Test for ":term ++shell" fails on MS-Windows.
Solution: Accept failure of "dir" executable.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_terminal.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim index ba179595a..10e107553 100644 --- 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 |