Skip to content

Commit 8ed5400

Browse files
committed
patch 8.0.0909: channel test fails
Problem: Channel test fails. Solution: Allow for "cwd" and "env" arguments.
1 parent 08d384f commit 8ed5400

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/channel.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4976,8 +4976,9 @@ job_start(typval_T *argvars, jobopt_T *opt_arg)
49764976
clear_job_options(&opt);
49774977
opt.jo_mode = MODE_NL;
49784978
if (get_job_options(&argvars[1], &opt,
4979-
JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT
4980-
+ JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE, 0) == FAIL)
4979+
JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT
4980+
+ JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE,
4981+
JO2_ENV + JO2_CWD) == FAIL)
49814982
goto theend;
49824983
}
49834984

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
909,
772774
/**/
773775
908,
774776
/**/

0 commit comments

Comments
 (0)