aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/input_spec.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-07-30 20:52:00 -0400
committerJames McCoy <jamessan@jamessan.com>2017-07-30 21:07:41 -0400
commit347dd9476ae2c77ebfc96abda928a342f26fe677 (patch)
tree9901683e841c4c83a5b59b1475b606c4abd84706 /test/functional/eval/input_spec.lua
parent13e8356f52d9dc1da96179ee425168740874c8c7 (diff)
downloadrneovim-347dd9476ae2c77ebfc96abda928a342f26fe677.tar.gz
rneovim-347dd9476ae2c77ebfc96abda928a342f26fe677.tar.bz2
rneovim-347dd9476ae2c77ebfc96abda928a342f26fe677.zip
oldtests: Run nvim using --headless to avoid requesting user input
Certain functions (e.g. feedkeys(…, 'x!') and input()) will attempt to read from stdin, which shouldn't be expected to work during oldtests. In Debian/Ubuntu's build environment, it explicitly can't work because /dev/null is redirected to stdin, which causes read_error_exit() to exit. Running oldtests with --headless prevents nvim from setting up its input handling, thus avoiding the problem altogether. Reference #6794
Diffstat (limited to 'test/functional/eval/input_spec.lua')
0 files changed, 0 insertions, 0 deletions