Commit: patch 9.1.1120: tests: Test_registers fails

4 views
Skip to first unread message

Christian Brabandt

unread,
Feb 17, 2025, 4:30:11 PM2/17/25
to vim...@googlegroups.com
patch 9.1.1120: tests: Test_registers fails

Commit: https://github.com/vim/vim/commit/44c1c04ddb000bd03c6e8851dcdef07fd8c329ff
Author: Christian Brabandt <c...@256bit.org>
Date: Mon Feb 17 22:26:00 2025 +0100

patch 9.1.1120: tests: Test_registers fails

Problem: tests: Test_registers fails
(T.J. Townsend, after v9.1.1115)
Solution: require clipboard feature

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim
index 131270226..ee59ecb30 100644
--- a/src/testdir/test_registers.vim
+++ b/src/testdir/test_registers.vim
@@ -1104,6 +1104,7 @@ endfunc

" This caused use-after-free
func Test_register_redir_display()
+ CheckFeature clipboard
" don't touch the clipboard, so only perform this, when the clipboard is not working
if has("clipboard_working")
throw "Skipped: skip touching the clipboard register!"
diff --git a/src/version.c b/src/version.c
index 7ba180e30..33562db96 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 */
+/**/
+ 1120,
/**/
1119,
/**/
Reply all
Reply to author
Forward
0 new messages