aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/ex_terminal_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-09 23:31:53 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-09-01 09:03:46 -0700
commitf63d952ca289430fe729b5fc133b2143b91cd24b (patch)
tree8ef4eab6aa99c0b548cb776d542b6ac0a5a69cf6 /test/functional/terminal/ex_terminal_spec.lua
parent641c5b3f08076b305e9ae5f9a8843d2647053da0 (diff)
downloadrneovim-f63d952ca289430fe729b5fc133b2143b91cd24b.tar.gz
rneovim-f63d952ca289430fe729b5fc133b2143b91cd24b.tar.bz2
rneovim-f63d952ca289430fe729b5fc133b2143b91cd24b.zip
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.