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 <[email protected]>
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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wRXFl-005zMf-6G%40256bit.org.

Raspunde prin e-mail lui