]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1087: Test_terminal_cwd is flaky v8.0.1087
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Sep 2017 12:25:49 +0000 (14:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Sep 2017 12:25:49 +0000 (14:25 +0200)
commite9f6fd27d0e2dcae3f4aa40c459d5e6a3b3dd102
treeec6f2a7a7659ed8c40b0fdb9e3a7de7b30e426bf
parent8696bbaf52cca7c1fcbd5000c83406e462b7dbf4
patch 8.0.1087: Test_terminal_cwd is flaky

Problem:    Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
            argument does not work.
Solution:   Wait for the condition to be true instead of using a sleep.
            Pass the directory to winpty.
src/terminal.c
src/testdir/test_terminal.vim
src/version.c