# HG changeset patch # User Christian Brabandt # Date 1502483405 -7200 # Node ID e78fde22faec13d0d6d12e8d56607dd8c356d315 # Parent 2f7de53e0f7979a710a17b8ede23d93c41a74ec6 patch 8.0.0909: channel test fails commit https://github.com/vim/vim/commit/8ed54007399f968aab447ae6cb46623b1bdbc75e Author: Bram Moolenaar Date: Fri Aug 11 22:22:36 2017 +0200 patch 8.0.0909: channel test fails Problem: Channel test fails. Solution: Allow for "cwd" and "env" arguments. diff --git a/src/channel.c b/src/channel.c --- a/src/channel.c +++ b/src/channel.c @@ -4976,8 +4976,9 @@ job_start(typval_T *argvars, jobopt_T *o clear_job_options(&opt); opt.jo_mode = MODE_NL; if (get_job_options(&argvars[1], &opt, - JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT - + JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE, 0) == FAIL) + JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT + + JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE, + JO2_ENV + JO2_CWD) == FAIL) goto theend; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 909, +/**/ 908, /**/ 907,