diff options
author | ZyX <kp-pav@yandex.ru> | 2017-08-06 15:25:17 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-08-06 15:25:17 +0300 |
commit | 474aa823dc5680b06dc84cd2ae248e58b6e83359 (patch) | |
tree | 1714a0878caecff1f3d9d69228c888728c824d15 /test/functional/core | |
parent | 36acfce4eac9dd131a39c4dbdff2836ab3e21d73 (diff) | |
parent | 5bec94652c9dd1d8cab260c4dd10e44d3f38f3cd (diff) | |
download | rneovim-474aa823dc5680b06dc84cd2ae248e58b6e83359.tar.gz rneovim-474aa823dc5680b06dc84cd2ae248e58b6e83359.tar.bz2 rneovim-474aa823dc5680b06dc84cd2ae248e58b6e83359.zip |
Merge branch 'master' into colored-cmdline
Diffstat (limited to 'test/functional/core')
-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([[ |