vim-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: vim/vim#20563

b464c36bf9

Co-authored-by: Vladimír Marek <vlmarek13@gmail.com>
This commit is contained in:
zeertzjq
2026-06-19 09:44:30 +08:00
parent 3e851d407e
commit dc1393d9c1

View File

@@ -215,6 +215,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()