Mercurial > vim
comparison src/testdir/test_channel.vim @ 8059:19304db153bc v7.4.1324
commit https://github.com/vim/vim/commit/d807036d10615b960c814ef3890ecad335b57f56
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 15 21:56:54 2016 +0100
patch 7.4.1324
Problem: Channels with pipes don't work on MS-Windows.
Solution: Add pipe I/O support. (Yasuhiro Matsumoto)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 15 Feb 2016 22:00:04 +0100 |
parents | 6db4b1c863ec |
children | 1aa8ed4ee48b |
comparison
equal
deleted
inserted
replaced
8058:a78f2d2ed4b9 | 8059:19304db153bc |
---|---|
278 call assert_true(reltimefloat(elapsed) < (has('unix') ? 1.0 : 3.0)) | 278 call assert_true(reltimefloat(elapsed) < (has('unix') ? 1.0 : 3.0)) |
279 endif | 279 endif |
280 endfunc | 280 endfunc |
281 | 281 |
282 func Test_pipe() | 282 func Test_pipe() |
283 if !has('job') || !has('unix') | 283 if !has('job') |
284 return | 284 return |
285 endif | 285 endif |
286 let job = job_start("python test_channel_pipe.py") | 286 let job = job_start("python test_channel_pipe.py") |
287 call assert_equal("run", job_status(job)) | 287 call assert_equal("run", job_status(job)) |
288 try | 288 try |