Mercurial > vim
comparison src/testdir/test_channel.vim @ 8078:7676818d486b v7.4.1333
commit https://github.com/vim/vim/commit/f8df7addc5f741c16fa2a458f8777ac1fdf2e01e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 16 14:07:40 2016 +0100
patch 7.4.1333
Problem: Channel test fails on non-darwin builds.
Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Feb 2016 14:15:05 +0100 |
parents | dc32c8026899 |
children | 3ea56a74077f |
comparison
equal
deleted
inserted
replaced
8077:59a21b97d8f6 | 8078:7676818d486b |
---|---|
26 else | 26 else |
27 " Can't run this test. | 27 " Can't run this test. |
28 finish | 28 finish |
29 endif | 29 endif |
30 | 30 |
31 let s:chopt = has('macunix') ? {'waittime' : 1} : {} | 31 let s:chopt = has('osx') ? {'waittime' : 1} : {} |
32 | 32 |
33 " Run "testfunc" after sarting the server and stop the server afterwards. | 33 " Run "testfunc" after sarting the server and stop the server afterwards. |
34 func s:run_server(testfunc) | 34 func s:run_server(testfunc) |
35 " The Python program writes the port number in Xportnr. | 35 " The Python program writes the port number in Xportnr. |
36 call delete("Xportnr") | 36 call delete("Xportnr") |