forked from aniani/vim
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
853a7692d1
commit
8dea145e39
@@ -226,6 +226,8 @@ func Test_cd_unknown_dir()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_getcwd_actual_dir()
|
func Test_getcwd_actual_dir()
|
||||||
|
CheckOption autochdir
|
||||||
|
|
||||||
let startdir = getcwd()
|
let startdir = getcwd()
|
||||||
call mkdir('Xactual')
|
call mkdir('Xactual')
|
||||||
call test_autochdir()
|
call test_autochdir()
|
||||||
|
|||||||
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3737,
|
||||||
/**/
|
/**/
|
||||||
3736,
|
3736,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user