mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1856
Problem: failing job test fails on MS-Windows. Solution: Expect "fail" status instead of "dead".
This commit is contained in:
@@ -254,12 +254,17 @@ func Test_job_start_fails()
|
|||||||
if has('job')
|
if has('job')
|
||||||
let job = job_start('axdfxsdf')
|
let job = job_start('axdfxsdf')
|
||||||
for i in range(100)
|
for i in range(100)
|
||||||
if job_status(job) == 'dead'
|
let status = job_status(job)
|
||||||
|
if status == 'dead' || status == 'fail'
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
sleep 10m
|
sleep 10m
|
||||||
endfor
|
endfor
|
||||||
|
if has('unix')
|
||||||
call assert_equal('dead', job_status(job))
|
call assert_equal('dead', job_status(job))
|
||||||
|
else
|
||||||
|
call assert_equal('fail', job_status(job))
|
||||||
|
endif
|
||||||
unlet job
|
unlet job
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1856,
|
||||||
/**/
|
/**/
|
||||||
1855,
|
1855,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user