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 <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
K.Takata
2026-05-25 15:16:56 +00:00
committed by Christian Brabandt
parent 010a71bb60
commit 98401467a9
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
531,
/**/
530,
/**/