Skip to content

Commit 644df41

Browse files
committed
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.
1 parent ee1dd1c commit 644df41

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/testdir/test_packadd.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ endfunc
7171

7272
func Test_packadd_symlink_dir()
7373
if !has('unix')
74-
return
74+
return
7575
endif
7676
let top2_dir = s:topdir . '/Xdir2'
7777
let real_dir = s:topdir . '/Xsym'
78-
exec "silent !ln -s" real_dir top2_dir
78+
call mkdir(real_dir, 'p')
79+
exec "silent !ln -s Xsym" top2_dir
7980
let &rtp = top2_dir . ',' . top2_dir . '/after'
8081
let &packpath = &rtp
8182

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
437,
767769
/**/
768770
436,
769771
/**/

0 commit comments

Comments
 (0)