From ae601721065299425ec832e2ee7fd4cf91543256 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 15 Aug 2019 20:38:03 +0200 Subject: windows: ok(#children >= 4 and #children <= 5) --- test/functional/core/job_spec.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index a1d9f50720..6feec4e8a3 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -776,7 +776,13 @@ describe('jobs', function() local children retry(nil, nil, function() children = meths.get_proc_children(ppid) - eq((iswin() and 4 or 3), #children) + if iswin() then + -- On Windows there is conhost.exe always, + -- and e.g. vctip.exe might appear. #10783 + ok(#children >= 4 and #children <= 5) + else + eq(3, #children) + end end) -- Assert that nvim_get_proc() sees the children. for _, child_pid in ipairs(children) do -- cgit