summaryrefslogtreecommitdiffstats
path: root/src/testdir/shared.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-14 21:54:26 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-14 21:54:26 +0200
commit41a82604453080d0011f281532582d3bd360df4a (patch)
tree433339a0093d9d671f83c219a9af802087dcdffd /src/testdir/shared.vim
parentf9cc9f209ede9f15959e4c2351e970477c139614 (diff)
patch 8.1.1694: the RUN_VIM variable is longer than neededv8.1.1694
Problem: The RUN_VIM variable is longer than needed. Solution: Shorten RUN_VIM. (Daniel Hahler, closes #4643)
Diffstat (limited to 'src/testdir/shared.vim')
-rw-r--r--src/testdir/shared.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim
index e1bb8184d7..9e4b1bb012 100644
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -261,7 +261,7 @@ func GetVimCommand(...)
let cmd = cmd . ' -u ' . name
endif
let cmd .= ' --not-a-term'
- let cmd = substitute(cmd, 'VIMRUNTIME=.*VIMRUNTIME;', '', '')
+ let cmd = substitute(cmd, 'VIMRUNTIME=\S\+', '', '')
" If using valgrind, make sure every run uses a different log file.
if cmd =~ 'valgrind.*--log-file='