]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0531: tests: Test_cd_completion() fails on MS-Windows with E344 v9.2.0531
authorK.Takata <kentkt@csc.jp>
Mon, 25 May 2026 15:16:56 +0000 (15:16 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 25 May 2026 15:16:56 +0000 (15:16 +0000)
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>
src/testdir/test_cd.vim
src/version.c

index e95c7c2e0e3c861d529b2627b2e1d2c2aa076b59..a175cd27489ed44c704ddaccd3a41b7a2e4a178e 100644 (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
index ca41d42a53789c23fe47c69f45c4b108a9b1d582..4db22e069b618e5ee15eae792bd8388044b6aa18 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    531,
 /**/
     530,
 /**/