summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-09 13:58:02 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-09 13:58:02 +0100
commit644df41c44cbdfacdedbba55ef77a6c6031eccd8 (patch)
treeece3d85f035ea2cd4a8a345f98d85c86b114fb9e /src
parentee1dd1cdc1f9a07e53b792e8762f515213b10c8a (diff)
downloadvim-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.vim5
-rw-r--r--src/version.c2
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,