]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.2042: Test_cq_zero_exmode fails without channel feature v9.0.2042
authorChristian Brabandt <cb@256bit.org>
Tue, 17 Oct 2023 16:10:13 +0000 (18:10 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 17 Oct 2023 16:10:13 +0000 (18:10 +0200)
Problem:  Test_cq_zero_exmode fails without channel feature
Solution: Make the test check the channel feature

closes: #13365

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/starting.txt
src/testdir/test_startup.vim
src/version.c

index 58b8edcd354b88a303960fd1ae7cd41aa7e94143..f7e98c7bef4f18d72bc633e842548d624b82fd69 100644 (file)
@@ -1,4 +1,4 @@
-*starting.txt*  For Vim version 9.0.  Last change: 2023 May 30
+*starting.txt*  For Vim version 9.0.  Last change: 2023 Oct 17
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -348,7 +348,7 @@ a slash.  Thus "-R" means recovery and "-/R" readonly.
                Start logging and write entries to {filename}.
                This works like calling `ch_logfile({filename}, 'ao')` very
                early during startup.
-               {only available with the |+eval| feature}
+               {only available with the |+eval| and |+channel| feature}
 
                                                        *-D*
 -D             Debugging.  Go to debugging mode when executing the first
index 6780205a2dc112e0813dbb86a8302720a1ca082b..1a81318f3f4daf4285826e742595e8b9527b0116 100644 (file)
@@ -1353,6 +1353,8 @@ endfunc
 
 " Test that -cq works as expected
 func Test_cq_zero_exmode()
+  CheckFeature channel
+
   let logfile = 'Xcq_log.txt'
   let out = system(GetVimCommand() .. ' --clean --log ' .. logfile .. ' -es -X -c "argdelete foobar" -c"7cq"')
   call assert_equal(8, v:shell_error)
index 05b65c4b5dba6647bfa71960307f9727dd4616f2..0b1bf3138e97642890f6a353bb0b67c4ac9bee10 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2042,
 /**/
     2041,
 /**/