functests: Do not forget about -i argument

Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
This commit is contained in:
ZyX
2015-10-23 15:09:07 +03:00
parent ca6235c20f
commit ec1ca54d59
5 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ describe(':preserve', function()
--TODO(justinmk): this is an ugly hack to force `helpers` to support
--multiple sessions.
local nvim2 = helpers.spawn({helpers.nvim_prog, '-u', 'NONE', '--embed'},
local nvim2 = helpers.spawn({helpers.nvim_prog, '-u', 'NONE', '-i', 'NONE', '--embed'},
true)
helpers.set_session(nvim2)

View File

@@ -13,7 +13,7 @@ describe(':wshada', function()
end
-- Override the default session because we need 'swapfile' for these tests.
local session = spawn({nvim_prog, '-u', 'NONE', '--embed',
local session = spawn({nvim_prog, '-u', 'NONE', '-i', '/dev/null', '--embed',
'--cmd', 'set swapfile'})
set_session(session)