# HG changeset patch # User Christian Brabandt # Date 1517685305 -3600 # Node ID f83d3a633ccbdf87887d0bfb0fa1bc3c84d8b10f # Parent 2beee18bca84eb3b39c3d9e4e030ed09595beaec patch 8.0.1463: test fails without 'autochdir' option commit https://github.com/vim/vim/commit/ec48a9c58989babcad23d73483955f35b6e41492 Author: Bram Moolenaar Date: Sat Feb 3 20:11:40 2018 +0100 patch 8.0.1463: test fails without 'autochdir' option Problem: Test fails without 'autochdir' option. Solution: Skip test if 'autochdir' is not supported. diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -1232,6 +1232,9 @@ function Test_dirchanged_local() endfunc function Test_dirchanged_auto() + if !exists('+autochdir') + return + endif call s:Before_test_dirchanged() call test_autochdir() autocmd test_dirchanged DirChanged auto call add(s:li, "auto:") diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1463, +/**/ 1462, /**/ 1461,