]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1100: tests: Test_log_nonexistent only works on Linux v9.1.1100
authorChristian Brabandt <cb@256bit.org>
Mon, 10 Feb 2025 21:13:43 +0000 (22:13 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 10 Feb 2025 21:13:43 +0000 (22:13 +0100)
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>
src/testdir/test_startup.vim
src/version.c

index c16e4ae27de3b22a17bf831c2969f3a063b37b77..78c24e4ab2aa1db90fcf38352f448bb4a3d8c966 100644 (file)
@@ -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
index f72f817e137b6a592e26a7441863f726f1eefb82..1b4c83ebcba3c8d2e69e3b8f2f76de19a45e4ba0 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1100,
 /**/
     1099,
 /**/