0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.1.1461: tests do not run or are not reliable on some systems

Problem:    Tests do not run or are not reliable on some systems.
Solution:   Use "findstr" instead of "grep" on MS-Windows. Clear
            PROMPT_COMMAND in the terminal test. Delete temp file. Wait for
            output after executing a debug command. (Yegappan Lakshmanan,
            closes #4479)
This commit is contained in:
Bram Moolenaar
2019-06-03 23:07:25 +02:00
parent 02e15072be
commit ddd3308782
6 changed files with 18 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ func Test_external_env()
call setenv('FOO', v:null)
if has('win32')
let result = system('set | grep ^FOO=')
let result = system('set | findstr ^FOO=')
else
let result = system('env | grep ^FOO=')
endif