From dc1393d9c1b96c3c1573da1b4e128dab53496435 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 19 Jun 2026 09:44:30 +0800 Subject: [PATCH] vim-patch:9.2.0675: tests: Test_cd_from_non_existing_dir() fails on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 https://github.com/vim/vim/commit/b464c36bf976d8f5c7d42371704e487c65f905f4 Co-authored-by: Vladimír Marek --- test/old/testdir/test_cd.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/old/testdir/test_cd.vim b/test/old/testdir/test_cd.vim index 89c8a12bf2..21cb31e0e5 100644 --- a/test/old/testdir/test_cd.vim +++ b/test/old/testdir/test_cd.vim @@ -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()