changeset 35641:f55b953f59bd v9.1.0562

patch 9.1.0562: tests: inconsistency in test_findfile.vim Commit: https://github.com/vim/vim/commit/e7b98ab96e1f1bd12032c620615a2c69adbf018d Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Jul 11 21:48:09 2024 +0200 patch 9.1.0562: tests: inconsistency in test_findfile.vim 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>
author Christian Brabandt <cb@256bit.org>
date Thu, 11 Jul 2024 22:10:14 +0200
parents 6a069358bece
children f0e5c3d311a0
files src/testdir/test_findfile.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_findfile.vim
+++ b/src/testdir/test_findfile.vim
@@ -133,6 +133,7 @@ func Test_finddir()
   let save_shellslash = &shellslash
   let save_dir = getcwd()
   set path=,,
+  set shellslash
   call CreateFiles()
   cd Xfinddir1
 
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    562,
+/**/
     561,
 /**/
     560,