0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0925: terminal scrollback test still still flaky

Problem:    Terminal scrollback test still still flaky.
Solution:   Explicitly set the shell.  Disable ruler. (Ozaki Kiichi,
            closes #3966)
This commit is contained in:
Bram Moolenaar 2019-02-15 01:06:13 +01:00
parent 7e841e3ce5
commit 5ff7df509a
5 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,7 @@
|4|8| @72 |4|8| @72
>4|9| @72 >4|9| @72
|~+0#4040ff13&| @73 |~+0#4040ff13&| @73
|!+2#ffffff16#00e0003|/|b|i|n|/|t|c|s|h| |[|T|e|r|m|i|n|a|l|]| @35|5|1|,|1| @10|B|o|t |!+2#ffffff16#00e0003|/|b|i|n|/|s|h| |[|T|e|r|m|i|n|a|l|]| @55
| +0#0000000#ffffff0@74 | +0#0000000#ffffff0@74
|~+0#4040ff13&| @73 |~+0#4040ff13&| @73
|~| @73 |~| @73
@ -16,5 +16,5 @@
|~| @73 |~| @73
|~| @73 |~| @73
|~| @73 |~| @73
|[+1#0000000&|N|o| |N|a|m|e|]| @47|0|,|0|-|1| @9|A|l@1 |[+1#0000000&|N|o| |N|a|m|e|]| @65
| +0&&@74 | +0&&@74

View File

@ -7,7 +7,7 @@
>4|8| @72 >4|8| @72
|4|9| @72 |4|9| @72
|~+0#4040ff13&| @73 |~+0#4040ff13&| @73
|!+2#ffffff16#00e0003|/|b|i|n|/|t|c|s|h| |[|T|e|r|m|i|n|a|l|]| @35|5|0|,|1| @10|B|o|t |!+2#ffffff16#00e0003|/|b|i|n|/|s|h| |[|T|e|r|m|i|n|a|l|]| @55
| +0#0000000#ffffff0@74 | +0#0000000#ffffff0@74
|~+0#4040ff13&| @73 |~+0#4040ff13&| @73
|~| @73 |~| @73
@ -16,5 +16,5 @@
|~| @73 |~| @73
|~| @73 |~| @73
|~| @73 |~| @73
|[+1#0000000&|N|o| |N|a|m|e|]| @47|0|,|0|-|1| @9|A|l@1 |[+1#0000000&|N|o| |N|a|m|e|]| @65
| +0&&@74 | +0&&@74

View File

@ -7,7 +7,7 @@
|4|9| @72 |4|9| @72
|o|n|e| |m|o|r|e| |l|i|n|e| @61 |o|n|e| |m|o|r|e| |l|i|n|e| @61
> @74 > @74
|!+2#ffffff16#00e0003|/|b|i|n|/|t|c|s|h| |[|r|u|n@1|i|n|g|]| @36|4|3|,|1| @10|B|o|t |!+2#ffffff16#00e0003|/|b|i|n|/|s|h| |[|r|u|n@1|i|n|g|]| @56
| +0#0000000#ffffff0@74 | +0#0000000#ffffff0@74
|~+0#4040ff13&| @73 |~+0#4040ff13&| @73
|~| @73 |~| @73
@ -16,5 +16,5 @@
|~| @73 |~| @73
|~| @73 |~| @73
|~| @73 |~| @73
|[+1#0000000&|N|o| |N|a|m|e|]| @47|0|,|0|-|1| @9|A|l@1 |[+1#0000000&|N|o| |N|a|m|e|]| @65
| +0&&@74 | +0&&@74

View File

@ -310,26 +310,24 @@ func Test_terminal_postponed_scrollback()
call writefile(range(50), 'Xtext') call writefile(range(50), 'Xtext')
call writefile([ call writefile([
\ 'set shell=/bin/sh noruler',
\ 'terminal', \ 'terminal',
\ 'sleep 400m',
\ 'call feedkeys("tail -n 100 -f Xtext\<CR>", "xt")',
\ 'sleep 200m', \ 'sleep 200m',
\ 'call feedkeys("tail -n 100 -f Xtext\<CR>", "xt")',
\ 'sleep 100m',
\ 'call feedkeys("\<C-W>N", "xt")', \ 'call feedkeys("\<C-W>N", "xt")',
\ ], 'XTest_postponed') \ ], 'XTest_postponed')
let buf = RunVimInTerminal('-S XTest_postponed', {}) let buf = RunVimInTerminal('-S XTest_postponed', {})
" Check that the Xtext lines are displayed and in Terminal-Normal mode " Check that the Xtext lines are displayed and in Terminal-Normal mode
call term_wait(buf)
call VerifyScreenDump(buf, 'Test_terminal_01', {}) call VerifyScreenDump(buf, 'Test_terminal_01', {})
silent !echo 'one more line' >>Xtext silent !echo 'one more line' >>Xtext
" Sceen will not change, move cursor to get a different dump " Sceen will not change, move cursor to get a different dump
call term_sendkeys(buf, "k") call term_sendkeys(buf, "k")
call term_wait(buf)
call VerifyScreenDump(buf, 'Test_terminal_02', {}) call VerifyScreenDump(buf, 'Test_terminal_02', {})
" Back to Terminal-Job mode, text will scroll and show the extra line. " Back to Terminal-Job mode, text will scroll and show the extra line.
call term_sendkeys(buf, "a") call term_sendkeys(buf, "a")
call term_wait(buf)
call VerifyScreenDump(buf, 'Test_terminal_03', {}) call VerifyScreenDump(buf, 'Test_terminal_03', {})
call term_wait(buf) call term_wait(buf)

View File

@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
925,
/**/ /**/
924, 924,
/**/ /**/