1
0
forked from aniani/vim

patch 9.0.0365: file name used in test is unusual

Problem:    File name used in test is unusual.
Solution:   Rename it. (Dominique Pellé, closes #11044)
This commit is contained in:
Dominique Pelle
2022-09-03 10:59:32 +01:00
committed by Bram Moolenaar
parent c99e182e1f
commit 91a874eb88
2 changed files with 5 additions and 3 deletions

View File

@@ -642,9 +642,9 @@ func Test_terminal_cwd_failure()
" Case 1: Provided directory is not actually a directory. Attempt to make
" the file executable as well.
call writefile([], 'Xtcfile')
call setfperm('Xftcile', 'rwx------')
call assert_fails("call term_start(&shell, {'cwd': 'Xftcile'})", 'E475:')
call delete('Xftcile')
call setfperm('Xtcfile', 'rwx------')
call assert_fails("call term_start(&shell, {'cwd': 'Xtcfile'})", 'E475:')
call delete('Xtcfile')
" Case 2: Directory does not exist.
call assert_fails("call term_start(&shell, {'cwd': 'Xdir'})", 'E475:')

View File

@@ -707,6 +707,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
365,
/**/
364,
/**/