summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-06 21:37:27 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-06 21:37:27 +0200
commit446cce6d537b036467033975a86729dbdc83f860 (patch)
treed34d8f9fe98a568330f94270680696a392731764
parent5b4a3767f6d1760ba1ce103ef3cffb696ece0244 (diff)
downloadvim-git-446cce6d537b036467033975a86729dbdc83f860.tar.gz
patch 7.4.2169v7.4.2169
Problem: Startup test gets stuck on MS-Windows. Solution: Use double quotes.
-rw-r--r--src/testdir/shared.vim5
-rw-r--r--src/testdir/test_startup.vim2
-rw-r--r--src/version.c2
3 files changed, 8 insertions, 1 deletions
diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim
index d0be24166..056ecd926 100644
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -135,7 +135,10 @@ func RunVim(before, after)
let cmd = readfile('vimcmd')[0]
let cmd = substitute(cmd, '-u \f\+', '-u NONE', '')
- exe "silent !" . cmd . " --cmd 'so Xbefore.vim' -S Xafter.vim"
+ if cmd !~ '-u NONE'
+ let cmd = cmd . ' -u NONE'
+ endif
+ exe "silent !" . cmd . " --cmd \"so Xbefore.vim\" -S Xafter.vim"
call delete('Xbefore.vim')
call delete('Xafter.vim')
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index 047bc34a2..14e78ce3c 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -19,6 +19,8 @@ func Test_after_comes_later()
return
endif
let before = [
+ \ 'set nocp viminfo+=nviminfo',
+ \ 'set guioptions+=M',
\ 'let $HOME = "/does/not/exist"',
\ 'set loadplugins',
\ 'set rtp=Xhere,Xafter',
diff --git a/src/version.c b/src/version.c
index 1b55e4fba..e57e0fc93 100644
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2169,
+/**/
2168,
/**/
2167,