patch 9.1.0384: tests: vt420 terminfo entry may not be found

Commit: 
https://github.com/vim/vim/commit/83d3b3b8a444349a13c4d9091afc6a3de252afa8
Author: Christian Brabandt <c...@256bit.org>
Date:   Tue Apr 30 20:45:09 2024 +0200

    patch 9.1.0384: tests: vt420 terminfo entry may not be found
    
    Problem:  tests: vt420 terminfo entry may not be found
              (Shane-XB-Qian)
    Solution: check existence of terminfo vt420 and infocmp command
    
    related: #14595
    closes: #14677
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_terminal3.vim b/src/testdir/test_terminal3.vim
index 223bcc537..848e3fa47 100644
--- a/src/testdir/test_terminal3.vim
+++ b/src/testdir/test_terminal3.vim
@@ -935,7 +935,14 @@ func Test_terminal_vt420()
   CheckRunVimInTerminal
   " For Termcap
   CheckUnix
-  let rows=15
+  CheckExecutable infocmp
+  let a = system('infocmp vt420')
+  if v:shell_error
+     " reset v:shell_error
+     let a = system('true')
+     throw 'Skipped: vt420 terminfo not available'
+  endif
+  let rows = 15
   call writefile([':set term=vt420'], 'Xterm420', 'D')
 
   let buf = RunVimInTerminal('-S Xterm420', #{rows: rows})
diff --git a/src/version.c b/src/version.c
index 0f7ec89a5..739f01fc4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    384,
 /**/
     383,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1s1shv-007GL1-B2%40256bit.org.

Raspunde prin e-mail lui