1
0
forked from aniani/vim

patch 9.1.1100: tests: Test_log_nonexistent only works on Linux

Problem:  tests: Test_log_nonexistent only works on Linux
          (after v9.1.1097)
Solution: Add CheckUnix condition

closes: #16476

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt 2025-02-10 22:13:43 +01:00
parent 1aa287e048
commit 35e02af7bf
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 3 additions and 0 deletions

View File

@ -743,6 +743,7 @@ endfunc
func Test_log_nonexistent() func Test_log_nonexistent()
" this used to crash Vim " this used to crash Vim
CheckFeature channel CheckFeature channel
CheckUnix
let result = join(systemlist(GetVimCommand() .. ' --log /X/Xlogfile -c qa!')) let result = join(systemlist(GetVimCommand() .. ' --log /X/Xlogfile -c qa!'))
call assert_match("E484: Can't open file", result) call assert_match("E484: Can't open file", result)
endfunc endfunc

View File

@ -704,6 +704,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 */
/**/
1100,
/**/ /**/
1099, 1099,
/**/ /**/