patch 9.2.0194: tests: test_startup.vim leaves temp.txt around

Commit: 
https://github.com/vim/vim/commit/32e453d3395803cb9aa1643f272061e101fdc990
Author: Christian Brabandt <[email protected]>
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 <[email protected]>

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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1w2xlH-00C3sh-6k%40256bit.org.

Raspunde prin e-mail lui