]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1257 v7.4.1257
authorBram Moolenaar <Bram@vim.org>
Thu, 4 Feb 2016 09:54:34 +0000 (10:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 4 Feb 2016 09:54:34 +0000 (10:54 +0100)
Problem:    Channel test fails in some configurations.
Solution:   Add check for the +channel feature.

src/testdir/test_channel.vim
src/version.c

index 3caf5d21d933bb37b8ecdca9501f57e1b134e7db..80ccb08237e67e441b5d4382c7d1c095d917d73d 100644 (file)
@@ -1,7 +1,11 @@
 " Test for channel functions.
 scriptencoding utf-8
 
-" This requires the Python command to run the test server.
+if !has('channel')
+  finish
+endif
+
+" This test requires the Python command to run the test server.
 " This most likely only works on Unix and Windows console.
 if has('unix')
   " We also need the pkill command to make sure the server can be stopped.
index b318dc7101757889e9f5881d3bbb17feb94b0c43..7192bae1ddbe9b82cdbf79e9e376c36916f55414 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1257,
 /**/
     1256,
 /**/