Commit: patch 9.1.0562: tests: inconsistency in test_findfile.vim

2 views
Skip to first unread message

Christian Brabandt

unread,
Jul 11, 2024, 4:10:21 PM7/11/24
to vim...@googlegroups.com
patch 9.1.0562: tests: inconsistency in test_findfile.vim

Commit: https://github.com/vim/vim/commit/e7b98ab96e1f1bd12032c620615a2c69adbf018d
Author: zeertzjq <zeer...@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 <zeer...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_findfile.vim b/src/testdir/test_findfile.vim
index 20d509613..311020e26 100644
--- 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

diff --git a/src/version.c b/src/version.c
index 15fc77584..39c29b064 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 562,
/**/
561,
/**/
Reply all
Reply to author
Forward
0 new messages