diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-03 20:11:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-03 20:11:40 +0100 |
commit | ec48a9c58989babcad23d73483955f35b6e41492 (patch) | |
tree | 8e1215c2a6e3c29f95afb6756dd3ac5b10ab42a3 /src | |
parent | f4aba797cb57d6d5b3b491bd5ae2c0b40e07baaf (diff) |
patch 8.0.1463: test fails without 'autochdir' optionv8.0.1463
Problem: Test fails without 'autochdir' option.
Solution: Skip test if 'autochdir' is not supported.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_autocmd.vim | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index c504f704fc..065ac4e29d 100644 --- 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 index 5b4c2d2099..af192797f7 100644 --- 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, |