Commit: patch 9.1.0095: tests: test_restricted() fails

4 views
Skip to first unread message

Christian Brabandt

unread,
Feb 10, 2024, 8:00:08 AM2/10/24
to vim...@googlegroups.com
patch 9.1.0095: tests: test_restricted() fails

Commit: https://github.com/vim/vim/commit/52eb0b867704e43049cb396e64cadb5bd9a3ad0b
Author: Christian Brabandt <c...@256bit.org>
Date: Sat Feb 10 13:50:54 2024 +0100

patch 9.1.0095: tests: test_restricted() fails

Problem: tests: test_restricted() fails
(after: v9.1.0091)
Solution: Add a space before the pipecmd and the actual Vim command to
run

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim
index 9479efbdc..47aeab3b1 100644
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -364,7 +364,7 @@ func RunVimPiped(before, after, arguments, pipecmd)
" Optionally run Vim under valgrind
" let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd

- exe "silent !" . a:pipecmd . cmd . args . ' ' . a:arguments
+ exe "silent !" .. a:pipecmd .. ' ' .. cmd .. args .. ' ' .. a:arguments

if len(a:before) > 0
call delete('Xbefore.vim')
diff --git a/src/version.c b/src/version.c
index 598a957ad..ba44232e5 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 */
+/**/
+ 95,
/**/
94,
/**/
Reply all
Reply to author
Forward
0 new messages