1
0
forked from aniani/vim

patch 7.4.1523

Problem:    Writing channel to a file fails on MS-Windows.
Solution:   Disable it for now.
This commit is contained in:
Bram Moolenaar 2016-03-08 20:58:29 +01:00
parent 6ff02c9651
commit 0622732b32
2 changed files with 14 additions and 0 deletions

View File

@ -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'})

View File

@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1523,
/**/
1522,
/**/