mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-05-28 00:21:57 +02:00
patch 9.2.0194: tests: test_startup.vim leaves temp.txt around
Problem: tests: test_startup.vim leaves temp.txt around
Solution: Disable termresize and termsync explicitly to stop outputting
DEC mode chars, delete all chars before the rm command
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -844,7 +844,8 @@ func Test_stdin_no_newline()
|
||||
call term_sendkeys(buf, "echo hello > temp.txt\<CR>")
|
||||
call TermWait(buf, 200)
|
||||
|
||||
call term_sendkeys(buf, "bash -c '../vim --not-a-term -u NONE -c \":q!\" -' < temp.txt\<CR>")
|
||||
call term_sendkeys(buf, "bash -c '../vim --cmd \"set trz=sigwinch notsy\"'
|
||||
\ ' --not-a-term -u NONE -c \":q!\" -' < temp.txt\<CR>")
|
||||
call TermWait(buf, 200)
|
||||
|
||||
" Capture terminal output
|
||||
@@ -882,7 +883,7 @@ func Test_stdin_no_newline()
|
||||
endif
|
||||
|
||||
" Clean up temp file and exit shell
|
||||
call term_sendkeys(buf, "rm -f temp.txt\<CR>")
|
||||
call term_sendkeys(buf, "\<C-U>rm -f temp.txt\<CR>")
|
||||
call term_sendkeys(buf, "exit\<CR>")
|
||||
call TermWait(buf, 200)
|
||||
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
194,
|
||||
/**/
|
||||
193,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user