summaryrefslogtreecommitdiff
path: root/src/testdir/test_packadd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-11 23:00:36 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-11 23:00:36 +0100
commit24f8f543d4036c5d2ce4ea6973a174cf2176cb72 (patch)
treed0ab4b0cbf2ce643abf961f65e6ea13d407fe594 /src/testdir/test_packadd.vim
parent913727e56761d57aaba61197c2d3485418dea7eb (diff)
downloadvim-git-24f8f543d4036c5d2ce4ea6973a174cf2176cb72.tar.gz
patch 8.0.0326: packadd test uses wrong directory namev8.0.0326
Problem: Packadd test uses wrong directory name. Solution: Use the variable name value. (Hirohito Higashi)
Diffstat (limited to 'src/testdir/test_packadd.vim')
-rw-r--r--src/testdir/test_packadd.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_packadd.vim b/src/testdir/test_packadd.vim
index bf00fa26c..8ffebf9bf 100644
--- a/src/testdir/test_packadd.vim
+++ b/src/testdir/test_packadd.vim
@@ -73,7 +73,7 @@ func Test_packadd_symlink_dir()
endif
let top2_dir = s:topdir . '/Xdir2'
let real_dir = s:topdir . '/Xsym'
- silent !ln -s real_dir top2_dir
+ exec "silent !ln -s" real_dir top2_dir
let &rtp = top2_dir . ',' . top2_dir . '/after'
let &packpath = &rtp
@@ -98,7 +98,7 @@ func Test_packadd_symlink_dir()
set rtp&
let rtp = &rtp
- silent !rm top2_dir
+ exec "silent !rm" top2_dir
endfunc
" Check command-line completion for 'packadd'