patch 9.2.0194: tests: test_startup.vim leaves temp.txt around
Commit:
https://github.com/vim/vim/commit/32e453d3395803cb9aa1643f272061e101fdc990
Author: Christian Brabandt <
c...@256bit.org>
Date: Wed Mar 18 20:42:22 2026 +0000
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 <
c...@256bit.org>
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index 0c2781e70..b14ea7335 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -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)
diff --git a/src/version.c b/src/version.c
index ed08d95c2..acccc10a5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 194,
/**/
193,
/**/