diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-08-05 00:17:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-05 00:17:59 +0200 |
commit | 37dd5ded7c74d70358ab0539d6ed978816b778f5 (patch) | |
tree | 1d5bb4969bcf901e9d1ecd8472856f9c93883c66 /test | |
parent | 36a91c790e5b58a002ca20671a357d8a0ffd2dff (diff) | |
parent | 678e87b90a08915d4fc16e3aada133f6482ba7a3 (diff) | |
download | rneovim-37dd5ded7c74d70358ab0539d6ed978816b778f5.tar.gz rneovim-37dd5ded7c74d70358ab0539d6ed978816b778f5.tar.bz2 rneovim-37dd5ded7c74d70358ab0539d6ed978816b778f5.zip |
Merge #7111 from justinmk/unrevert
Unrevert vim-patch:8.0.0133
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/core/job_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index b98169b067..54e56f7f41 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -9,6 +9,7 @@ local command = helpers.command local wait = helpers.wait local iswin = helpers.iswin local get_pathsep = helpers.get_pathsep +local nvim_set = helpers.nvim_set local Screen = require('test.functional.ui.screen') describe('jobs', function() @@ -669,9 +670,10 @@ describe("pty process teardown", function() if helpers.pending_win32(pending) then return end -- Use a nested nvim (in :term) to test without --headless. feed_command(":terminal '"..helpers.nvim_prog + .."' -u NONE -i NONE --cmd '"..nvim_set.."' " -- Use :term again in the _nested_ nvim to get a PTY process. -- Use `sleep` to simulate a long-running child of the PTY. - .."' +terminal +'!(sleep 300 &)' +qa") + .."+terminal +'!(sleep 300 &)' +qa") -- Exiting should terminate all descendants (PTY, its children, ...). screen:expect([[ |