Mercurial > vim
diff src/testdir/test_channel.vim @ 8465:5927180d0b4d v7.4.1523
commit https://github.com/vim/vim/commit/0622732b32ff4a883e4f490a1b38ada539da8ba2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 8 20:58:29 2016 +0100
patch 7.4.1523
Problem: Writing channel to a file fails on MS-Windows.
Solution: Disable it for now.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 08 Mar 2016 21:00:04 +0100 |
parents | 508504ca52ac |
children | c1aae3a79279 |
line wrap: on
line diff
--- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -550,6 +550,10 @@ func Test_nl_write_out_file() if !has('job') return endif + " TODO: make this work for MS-Windows + if !has('unix') + return + endif call ch_log('Test_nl_write_out_file()') let job = job_start(s:python . " test_channel_pipe.py", \ {'out-io': 'file', 'out-name': 'Xoutput'}) @@ -571,6 +575,10 @@ func Test_nl_write_err_file() if !has('job') return endif + " TODO: make this work for MS-Windows + if !has('unix') + return + endif call ch_log('Test_nl_write_err_file()') let job = job_start(s:python . " test_channel_pipe.py", \ {'err-io': 'file', 'err-name': 'Xoutput'}) @@ -592,6 +600,10 @@ func Test_nl_write_both_file() if !has('job') return endif + " TODO: make this work for MS-Windows + if !has('unix') + return + endif call ch_log('Test_nl_write_both_file()') let job = job_start(s:python . " test_channel_pipe.py", \ {'out-io': 'file', 'out-name': 'Xoutput', 'err-io': 'out'})