Commit: patch 9.2.0924: tests: Test_termwinscroll() fails on FreeBSD

Christian Brabandt <[email protected]> Fri, 7 Aug 2026 22:30:05 +0200
Newsgroups gmane.editors.vim.devel
Message-ID <[email protected]>
patch 9.2.0924: tests: Test_termwinscroll() fails on FreeBSD

Commit: https://github.com/vim/vim/commit/26a1e90a57eeed352fda62f3f4477415392a6a02
Author: neil <[email protected]>
Date:   Fri Aug 7 20:17:03 2026 +0000

    patch 9.2.0924: tests: Test_termwinscroll() fails on FreeBSD
    
    Problem:  tests: Test_termwinscroll() fails on FreeBSD
    Solution: Explicitly disable line-editor feature (neil).
    
    closes: #20966
    
    Supported by AI.
    
    Signed-off-by: neil <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_terminal2.vim b/src/testdir/test_terminal2.vim
index 41ef3c5f6..6223869d2 100644
--- a/src/testdir/test_terminal2.vim
+++ b/src/testdir/test_terminal2.vim
@@ -224,6 +224,11 @@ func Test_termwinscroll()
   exe 'set termwinscroll=' . &lines
   let buf = term_start('/bin/sh')
   call TermWait(buf)
+  " Some shells enable a line editor when interactive on a terminal,
+  " which echoes the typed line a second time; "+o" is a no-op on
+  " shells that have none.
+  call feedkeys("set +o emacs\<CR>", 'xt')
+  call TermWait(buf)
   for i in range(1, &lines)
     call feedkeys("echo " . i . "\<CR>", 'xt')
     call WaitForAssert({-> assert_match(string(i), term_getline(buf, term_getcursor(buf)[0] - 1))})
diff --git a/src/version.c b/src/version.c
index d1a1f6689..c0bd29365 100644
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    924,
 /**/
     923,
 /**/

-- 
-- 
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/E1wsRCf-000jAo-In%40256bit.org.