patch 9.2.0117: tests: test_wayland.vim fails

Commit: 
https://github.com/vim/vim/commit/f17b8b1df5fc3ad424ccc5f053d6d3ab4512b19d
Author: Christian Brabandt <[email protected]>
Date:   Sat Mar 7 17:32:29 2026 +0000

    patch 9.2.0117: tests: test_wayland.vim fails
    
    Problem:  tests: test_wayland.vim fails when X11 is not available or
              $XDG_RUNTIME_DIR is not defined
    Solution: Skip test_wayland when prerequisites are not fulfilled
    
    closes: #19579
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_wayland.vim b/src/testdir/test_wayland.vim
index 5b801c9a4..c690d0cfe 100644
--- a/src/testdir/test_wayland.vim
+++ b/src/testdir/test_wayland.vim
@@ -6,6 +6,7 @@ CheckUnix
 CheckFeature job
 CheckWaylandCompositor
 CheckNotGui
+CheckEnv XDG_RUNTIME_DIR
 
 if !executable('wl-paste') || !executable('wl-copy')
   throw "Skipped: wl-clipboard is not available"
@@ -58,6 +59,10 @@ endfunc
 func s:CheckClientserver()
   CheckFeature clientserver
 
+  if has('x11')
+      CheckEnv DISPLAY
+  endif
+
   if has('socketserver') && !has('x11')
     if v:servername == ""
       call remote_startserver('VIMSOCKETSERVER')
diff --git a/src/version.c b/src/version.c
index d0c530a18..7524fcd96 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 */
+/**/
+    117,
 /**/
     116,
 /**/

-- 
-- 
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/E1vyvi3-00BXhN-CC%40256bit.org.

Raspunde prin e-mail lui