diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-06 21:37:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-06 21:37:27 +0200 |
commit | 446cce6d537b036467033975a86729dbdc83f860 (patch) | |
tree | d34d8f9fe98a568330f94270680696a392731764 | |
parent | 5b4a3767f6d1760ba1ce103ef3cffb696ece0244 (diff) |
patch 7.4.2169v7.4.2169
Problem: Startup test gets stuck on MS-Windows.
Solution: Use double quotes.
-rw-r--r-- | src/testdir/shared.vim | 5 | ||||
-rw-r--r-- | src/testdir/test_startup.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim index d0be24166a..056ecd926b 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 047bc34a2f..14e78ce3c4 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 1b55e4fba5..e57e0fc931 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, |