mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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')
|
||||
let job = job_start('axdfxsdf')
|
||||
for i in range(100)
|
||||
if job_status(job) == 'dead'
|
||||
let status = job_status(job)
|
||||
if status == 'dead' || status == 'fail'
|
||||
break
|
||||
endif
|
||||
sleep 10m
|
||||
endfor
|
||||
if has('unix')
|
||||
call assert_equal('dead', job_status(job))
|
||||
else
|
||||
call assert_equal('fail', job_status(job))
|
||||
endif
|
||||
unlet job
|
||||
endif
|
||||
endfunc
|
||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1856,
|
||||
/**/
|
||||
1855,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user