patch 9.1.1100: tests: Test_log_nonexistent only works on Linux
Commit:
https://github.com/vim/vim/commit/35e02af7bf3086b7ad572113fd7c647535bd6605
Author: Christian Brabandt <
c...@256bit.org>
Date: Mon Feb 10 22:13:43 2025 +0100
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 <
c...@256bit.org>
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index c16e4ae27..78c24e4ab 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index f72f817e1..1b4c83ebc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1100,
/**/
1099,
/**/