Permalink
Browse files

patch 8.0.0326: packadd test uses wrong directory name

Problem:    Packadd test uses wrong directory name.
Solution:   Use the variable name value. (Hirohito Higashi)
  • Loading branch information...
brammool committed Feb 11, 2017
1 parent 913727e commit 24f8f543d4036c5d2ce4ea6973a174cf2176cb72
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/testdir/test_packadd.vim
  2. +2 −0 src/version.c
@@ -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'
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 326,
/**/
325,
/**/

0 comments on commit 24f8f54

Please sign in to comment.