patch 9.1.1100: tests: Test_log_nonexistent only works on Linux
Commit:
https://github.com/vim/vim/commit/35e02af7bf3086b7ad572113fd7c647535bd6605
Author: Christian Brabandt <[email protected]>
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 <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1thbLv-001MKq-Ln%40256bit.org.