From 8dea145e39a2569153cb63487d3403a46a882189 Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Sat, 4 Dec 2021 15:12:40 +0000 Subject: [PATCH] patch 8.2.3737: test fails without the 'autochdir' option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Test fails without the 'autochdir' option. Solution: Check that the option is available. (Dominique Pellé, closes #9272) --- src/testdir/test_cd.vim | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim index 81ed491ea..566e9f6ba 100644 --- 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 index 02743239f..f1d0e878c 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3737, /**/ 3736, /**/