Commit: patch 9.2.0531: tests: Test_cd_completion() fails on MS-Windows with E344

2 views
Skip to first unread message

Christian Brabandt

unread,
May 25, 2026, 11:30:14 AMMay 25
to vim...@googlegroups.com
patch 9.2.0531: tests: Test_cd_completion() fails on MS-Windows with E344

Commit: https://github.com/vim/vim/commit/98401467a996e174d2cb741c9c7d597003e53248
Author: K.Takata <ken...@csc.jp>
Date: Mon May 25 15:16:56 2026 +0000

patch 9.2.0531: tests: Test_cd_completion() fails on MS-Windows with E344

Problem: tests: Test_cd_completion() fails on MS-Windows with E344
Solution: Catch E344 in addition to E472 (Ken Takata)

Sometimes, Test_cd_completion fails with E344:
https://github.com/vim/vim-win32-installer/issues/446#issuecomment-4526975345

closes: #20328

Signed-off-by: K.Takata <ken...@csc.jp>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim
index e95c7c2e0..a175cd274 100644
--- a/src/testdir/test_cd.vim
+++ b/src/testdir/test_cd.vim
@@ -263,7 +263,7 @@ func Test_cd_completion()
let dir = d
" Yay! We found a suitable dir!
break
- catch /:E472:/
+ catch /:\(E472\|E344\):/
" Just skip directories where "cd" fails
continue
finally
diff --git a/src/version.c b/src/version.c
index ca41d42a5..4db22e069 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 531,
/**/
530,
/**/
Reply all
Reply to author
Forward
0 new messages