From e82fc20f23b29e4a263bf4ee3282564b11bf873a Mon Sep 17 00:00:00 2001 From: erw7 Date: Fri, 16 Aug 2019 13:34:53 +0900 Subject: windows: ok(#children >= 3 and #chidlen <= 5) Depending on the version of Windows, conhost.exe may not be included in the child process. --- test/functional/core/job_spec.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index 6feec4e8a3..adc9f88099 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -777,9 +777,9 @@ describe('jobs', function() retry(nil, nil, function() children = meths.get_proc_children(ppid) if iswin() then - -- On Windows there is conhost.exe always, - -- and e.g. vctip.exe might appear. #10783 - ok(#children >= 4 and #children <= 5) + -- On Windows conhost.exe may exist, and + -- e.g. vctip.exe might appear. #10783 + ok(#children >= 3 and #children <= 5) else eq(3, #children) end -- cgit