0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.0437: packadd test does not fully work

Problem:    The packadd test does not create the symlink correctly and does
            not test the right thing.
Solution:   Create the directory and symlink correctly.
This commit is contained in:
Bram Moolenaar 2017-03-09 13:58:02 +01:00
parent ee1dd1cdc1
commit 644df41c44
2 changed files with 5 additions and 2 deletions

View File

@ -71,11 +71,12 @@ endfunc
func Test_packadd_symlink_dir()
if !has('unix')
return
return
endif
let top2_dir = s:topdir . '/Xdir2'
let real_dir = s:topdir . '/Xsym'
exec "silent !ln -s" real_dir top2_dir
call mkdir(real_dir, 'p')
exec "silent !ln -s Xsym" top2_dir
let &rtp = top2_dir . ',' . top2_dir . '/after'
let &packpath = &rtp

View File

@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
437,
/**/
436,
/**/