]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0675: tests: Test_cd_from_non_existing_dir() fails on Solaris v9.2.0675
authorVladimír Marek <vlmarek13@gmail.com>
Thu, 18 Jun 2026 19:25:05 +0000 (19:25 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 18 Jun 2026 19:25:05 +0000 (19:25 +0000)
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 <vlmarek13@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_cd.vim
src/version.c

index a175cd27489ed44c704ddaccd3a41b7a2e4a178e..d732e54397939a929d70cdef924f894951a44a83 100644 (file)
@@ -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()
index c47616512130c48295c6e19cd20fdc9738849c27..14ebcf34336d547611c7aad0f0896f685cbdcd2a 100644 (file)
@@ -759,6 +759,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    675,
 /**/
     674,
 /**/