]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0562: tests: inconsistency in test_findfile.vim v9.1.0562
authorzeertzjq <zeertzjq@outlook.com>
Thu, 11 Jul 2024 19:48:09 +0000 (21:48 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 11 Jul 2024 19:48:09 +0000 (21:48 +0200)
Problem:  tests: inconsistency in test_findfile.vim, it saves and
          restores 'shellslash', but doesn't actually set it
Solution: Set shellslash explicitly (zeertzjq)

closes: #15217

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_findfile.vim
src/version.c

index 20d509613264d51b68a5a1ffa2cc6492ba7a2374..311020e26d8026bd8ab2b88b757ba9ec5d8761c1 100644 (file)
@@ -133,6 +133,7 @@ func Test_finddir()
   let save_shellslash = &shellslash
   let save_dir = getcwd()
   set path=,,
+  set shellslash
   call CreateFiles()
   cd Xfinddir1
 
index 15fc77584dfbbc5bf8222658da949cbb5833f828..39c29b064950b1b124226d1546580d120f5ced1c 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    562,
 /**/
     561,
 /**/