comparison src/testdir/test_terminal.vim @ 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 dfdc29643c91
children 6fe1d322710d
comparison
equal deleted inserted replaced
18523:b5f70c3bcb33 18524:ef397aa47dd4
2225 call WaitForAssert({-> assert_match('runtest.vim', term_getline(bufnr(), 1))}) 2225 call WaitForAssert({-> assert_match('runtest.vim', term_getline(bufnr(), 1))})
2226 bwipe! 2226 bwipe!
2227 elseif has('win32') 2227 elseif has('win32')
2228 " dir is a shell builtin command, should fail without a shell. 2228 " dir is a shell builtin command, should fail without a shell.
2229 term dir /b runtest.vim 2229 term dir /b runtest.vim
2230 call WaitForAssert({-> assert_match('job failed', term_getline(bufnr(), 1))}) 2230 call WaitForAssert({-> assert_match('job failed\|cannot access .*: No such file or directory', term_getline(bufnr(), 1))})
2231 bwipe! 2231 bwipe!
2232 2232
2233 term ++shell dir /b runtest.vim 2233 term ++shell dir /b runtest.vim
2234 call WaitForAssert({-> assert_match('runtest.vim', term_getline(bufnr(), 1))}) 2234 call WaitForAssert({-> assert_match('runtest.vim', term_getline(bufnr(), 1))})
2235 bwipe! 2235 bwipe!