# HG changeset patch # User Bram Moolenaar # Date 1638630904 -3600 # Node ID 40f6330abc2c80e76e65c93b03f2a915b5337dd4 # Parent 125646ad34495196fe425731857ebcb6e70814df patch 8.2.3737: test fails without the 'autochdir' option Commit: https://github.com/vim/vim/commit/8dea145e39a2569153cb63487d3403a46a882189 Author: Dominique Pelle Date: Sat Dec 4 15:12:40 2021 +0000 patch 8.2.3737: test fails without the 'autochdir' option Problem: Test fails without the 'autochdir' option. Solution: Check that the option is available. (Dominique Pell?, closes https://github.com/vim/vim/issues/9272) diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim --- a/src/testdir/test_cd.vim +++ b/src/testdir/test_cd.vim @@ -226,6 +226,8 @@ func Test_cd_unknown_dir() endfunc func Test_getcwd_actual_dir() + CheckOption autochdir + let startdir = getcwd() call mkdir('Xactual') call test_autochdir() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3737, +/**/ 3736, /**/ 3735,