patch 9.2.0675: tests: Test_cd_from_non_existing_dir() fails on Solaris

Commit: 
https://github.com/vim/vim/commit/b464c36bf976d8f5c7d42371704e487c65f905f4
Author: Vladimír Marek <[email protected]>
Date:   Thu Jun 18 19:25:05 2026 +0000

    patch 9.2.0675: tests: Test_cd_from_non_existing_dir() fails on Solaris
    
    Problem:  tests: Test_cd_from_non_existing_dir() fails on Solaris
    Solution: Skip the test on Solaris (Vladimír Marek).
    
    Test_cd_from_non_existing_dir() depends on deleting the current working
    directory.  Solaris does not allow that, so skip the test there.
    
    closes: #20563
    
    Signed-off-by: Vladimír Marek <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim
index a175cd274..d732e5439 100644
--- a/src/testdir/test_cd.vim
+++ b/src/testdir/test_cd.vim
@@ -211,6 +211,9 @@ func Test_lcd_win_execute()
 endfunc
 
 func Test_cd_from_non_existing_dir()
+  if has('sun')
+    throw 'Skipped: Solaris does not allow deleting the current working 
directory'
+  endif
   CheckNotMSWindows
 
   let saveddir = getcwd()
diff --git a/src/version.c b/src/version.c
index c47616512..14ebcf343 100644
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    675,
 /**/
     674,
 /**/

-- 
-- 
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/E1waIRB-004QWi-OU%40256bit.org.

Raspunde prin e-mail lui