comparison src/testdir/test_terminal.vim @ 15834:8f4948be3860 v8.1.0924

patch 8.1.0924: terminal scrollback test still flaky commit https://github.com/vim/vim/commit/7e841e3ce507d3c03175213d167692609028fdd9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 15 00:26:14 2019 +0100 patch 8.1.0924: terminal scrollback test still flaky Problem: Terminal scrollback test still flaky. Solution: Wait a bit longer before running the tail command.
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Feb 2019 00:30:06 +0100
parents 85c94163c4ab
children fe7e94f39e7f
comparison
equal deleted inserted replaced
15833:5cf9301c8e1e 15834:8f4948be3860
309 endif 309 endif
310 310
311 call writefile(range(50), 'Xtext') 311 call writefile(range(50), 'Xtext')
312 call writefile([ 312 call writefile([
313 \ 'terminal', 313 \ 'terminal',
314 \ 'sleep 100m', 314 \ 'sleep 400m',
315 \ 'call feedkeys("tail -n 100 -f Xtext\<CR>", "xt")', 315 \ 'call feedkeys("tail -n 100 -f Xtext\<CR>", "xt")',
316 \ 'sleep 100m', 316 \ 'sleep 200m',
317 \ 'call feedkeys("\<C-W>N", "xt")', 317 \ 'call feedkeys("\<C-W>N", "xt")',
318 \ ], 'XTest_postponed') 318 \ ], 'XTest_postponed')
319 let buf = RunVimInTerminal('-S XTest_postponed', {}) 319 let buf = RunVimInTerminal('-S XTest_postponed', {})
320 " Check that the Xtext lines are displayed and in Terminal-Normal mode 320 " Check that the Xtext lines are displayed and in Terminal-Normal mode
321 call term_wait(buf) 321 call term_wait(buf)