diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-09 13:58:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-09 13:58:02 +0100 |
commit | 644df41c44cbdfacdedbba55ef77a6c6031eccd8 (patch) | |
tree | ece3d85f035ea2cd4a8a345f98d85c86b114fb9e /src | |
parent | ee1dd1cdc1f9a07e53b792e8762f515213b10c8a (diff) | |
download | vim-644df41c44cbdfacdedbba55ef77a6c6031eccd8.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_packadd.vim | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/testdir/test_packadd.vim b/src/testdir/test_packadd.vim index 9d4c6d8fe..7dcaa6062 100644 --- a/src/testdir/test_packadd.vim +++ b/src/testdir/test_packadd.vim @@ -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 diff --git a/src/version.c b/src/version.c index 870b66b46..413c2c1de 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 437, +/**/ 436, /**/ 435, |