aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/ex_terminal_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-01 11:13:29 -0700
committerGitHub <noreply@github.com>2019-09-01 11:13:29 -0700
commit2f37c243482eec20fe52f298368c02eca21c758f (patch)
treee58f19e64682ee8de1de7c514025adc9e747ef4c /test/functional/terminal/ex_terminal_spec.lua
parent78a2bbaa4b0ee6b0e575c4239b7b35eb42852910 (diff)
parent2c1749ce443c3bb15a719c947b186301bc8ef0b3 (diff)
downloadrneovim-2f37c243482eec20fe52f298368c02eca21c758f.tar.gz
rneovim-2f37c243482eec20fe52f298368c02eca21c758f.tar.bz2
rneovim-2f37c243482eec20fe52f298368c02eca21c758f.zip
Merge #10733 from justinmk/test-fixes
test: use shell-test (avoid system shell)
Diffstat (limited to 'test/functional/terminal/ex_terminal_spec.lua')
-rw-r--r--test/functional/terminal/ex_terminal_spec.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/functional/terminal/ex_terminal_spec.lua b/test/functional/terminal/ex_terminal_spec.lua
index 591e6340cf..b0019d2d37 100644
--- a/test/functional/terminal/ex_terminal_spec.lua
+++ b/test/functional/terminal/ex_terminal_spec.lua
@@ -27,11 +27,7 @@ describe(':terminal', function()
echomsg "msg3"
]])
-- Invoke a command that emits frequent terminal activity.
- if iswin() then
- feed_command([[terminal for /L \%I in (1,0,2) do echo \%I]])
- else
- feed_command([[terminal while true; do echo X; done]])
- end
+ feed([[:terminal "]]..nvim_dir..[[/shell-test" REP 9999 !terminal_output!<cr>]])
feed([[<C-\><C-N>]])
wait()
-- Wait for some terminal activity.