From: Dominique Pelle Date: Sat, 4 Dec 2021 15:12:40 +0000 (+0000) Subject: patch 8.2.3737: test fails without the 'autochdir' option X-Git-Tag: v8.2.3737 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dea145e39a2569153cb63487d3403a46a882189;p=thirdparty%2Fvim.git 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 #9272) --- diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim index 81ed491ea5..566e9f6ba6 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 02743239f1..f1d0e878c4 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, /**/