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:
@ -743,6 +743,7 @@ endfunc
|
||||
func Test_log_nonexistent()
|
||||
" this used to crash Vim
|
||||
CheckFeature channel
|
||||
CheckUnix
|
||||
let result = join(systemlist(GetVimCommand() .. ' --log /X/Xlogfile -c qa!'))
|
||||
call assert_match("E484: Can't open file", result)
|
||||
endfunc
|
||||
|
||||
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1100,
|
||||
/**/
|
||||
1099,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user