Mercurial > vim
comparison src/testdir/test_channel.vim @ 7929:e44240b5a6da v7.4.1260
commit https://github.com/vim/vim/commit/a8343c1808f2f268282f3030ce4adaf22e8ade54
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 4 22:09:48 2016 +0100
patch 7.4.1260
Problem: The channel feature doesn't work on Win32 GUI.
Solution: Use WSAGetLastError(). (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 04 Feb 2016 22:15:04 +0100 |
parents | b724dbb299d5 |
children | 1f0743f4f88f |
comparison
equal
deleted
inserted
replaced
7928:dc7264c48527 | 7929:e44240b5a6da |
---|---|
4 if !has('channel') | 4 if !has('channel') |
5 finish | 5 finish |
6 endif | 6 endif |
7 | 7 |
8 " This test requires the Python command to run the test server. | 8 " This test requires the Python command to run the test server. |
9 " This most likely only works on Unix and Windows console. | 9 " This most likely only works on Unix and Windows. |
10 if has('unix') | 10 if has('unix') |
11 " We also need the pkill command to make sure the server can be stopped. | 11 " We also need the pkill command to make sure the server can be stopped. |
12 if !executable('python') || !executable('pkill') | 12 if !executable('python') || !executable('pkill') |
13 finish | 13 finish |
14 endif | 14 endif |
15 elseif has('win32') && !has('gui_win32') | 15 elseif has('win32') |
16 " Use Python Launcher for Windows (py.exe). | 16 " Use Python Launcher for Windows (py.exe). |
17 if !executable('py') | 17 if !executable('py') |
18 finish | 18 finish |
19 endif | 19 endif |
20 else | 20 else |