From: Bram Moolenaar Date: Sat, 6 Aug 2016 19:37:27 +0000 (+0200) Subject: patch 7.4.2169 X-Git-Tag: v7.4.2169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=446cce6d537b036467033975a86729dbdc83f860;p=thirdparty%2Fvim.git patch 7.4.2169 Problem: Startup test gets stuck on MS-Windows. Solution: Use double quotes. --- 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 @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2169, /**/ 2168, /**/