aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-08-21 12:46:07 -0400
committerJames McCoy <jamessan@jamessan.com>2017-08-21 20:29:49 -0400
commitfc7bf1c71d41dae7b8ab7e82b92ec0e8253b5291 (patch)
treed439bc0fff6d80d9a0f906459017e8043fa9323d
parent651c6f9b6ebcd76fbf65045ab877fdf38b9d3db2 (diff)
downloadrneovim-fc7bf1c71d41dae7b8ab7e82b92ec0e8253b5291.tar.gz
rneovim-fc7bf1c71d41dae7b8ab7e82b92ec0e8253b5291.tar.bz2
rneovim-fc7bf1c71d41dae7b8ab7e82b92ec0e8253b5291.zip
vim-patch:8.0.0437
Problem: The packadd test does not create the symlink correctly and does not test the right thing. Solution: Create the directory and symlink correctly. https://github.com/vim/vim/commit/644df41c44cbdfacdedbba55ef77a6c6031eccd8
-rw-r--r--src/nvim/version.c2
-rw-r--r--test/functional/legacy/packadd_spec.lua3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 92c776c1e8..d4cbf32009 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -515,7 +515,7 @@ static const int included_patches[] = {
// 440,
// 439,
// 438,
- // 437,
+ 437,
// 436,
// 435,
// 434,
diff --git a/test/functional/legacy/packadd_spec.lua b/test/functional/legacy/packadd_spec.lua
index 620f2d7247..7c44353aec 100644
--- a/test/functional/legacy/packadd_spec.lua
+++ b/test/functional/legacy/packadd_spec.lua
@@ -89,7 +89,8 @@ describe('packadd', function()
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