aboutsummaryrefslogtreecommitdiff
path: root/test
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 /test
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
Diffstat (limited to 'test')
-rw-r--r--test/functional/legacy/packadd_spec.lua3
1 files changed, 2 insertions, 1 deletions
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