aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-08-03 09:57:12 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-08-04 22:25:39 +0200
commit92101947febf304b009059aa3ef33863e071e9a0 (patch)
treefe0fcb79aee0412065a3aa955fdd45f7665bed27
parent348229b1d32010292013eee415c28926e2b7009b (diff)
downloadrneovim-92101947febf304b009059aa3ef33863e071e9a0.tar.gz
rneovim-92101947febf304b009059aa3ef33863e071e9a0.tar.bz2
rneovim-92101947febf304b009059aa3ef33863e071e9a0.zip
test: job_spec.lua: disable shada in test instance
-rw-r--r--test/functional/core/job_spec.lua4
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([[