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 <
vlma...@gmail.com>
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 <
vlma...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
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,
/**/