From 933c873cae64d3840bb0539b51a983a240eeff28 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 7 Dec 2016 14:01:51 +0100 Subject: test: Handle SIGHUP in tty-test fixture. Closes #5727 --- test/functional/core/job_spec.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/functional/core/job_spec.lua') diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index 58594db8ac..9d24ba62db 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -481,10 +481,9 @@ describe('jobs', function() eq('rows: 40, cols: 10', next_chunk()) end) - it('calling jobclose()', function() - -- this should send SIGHUP to the process + it('jobclose() sends SIGHUP', function() nvim('command', 'call jobclose(j)') - eq({'notification', 'exit', {0, 1}}, next_msg()) + eq({'notification', 'exit', {0, 42}}, next_msg()) end) end) end) -- cgit