neovim/test/functional
Scott Prager 74aef89720 term: use an argument vector for termopen().
Old behaviour: termopen('cmd') would run `&shell &shcf "cmd"`, which
caused the functional tests to fail on some systems due to the process
not "owning" the terminal. Also, it is inconsistent with jobstart().

Modify termopen() so that &shell is not invoked, but maintain the old
behaviour with :terminal. Factor the common code for building the
argument vector from jobstart() and modify the functional tests to call
termopen() instead of :terminal (fixes #2354).

Also:
 * Add a 'name' option for termopen() so that `:terminal {cmd}` produces
   a buffer named "term//{cwd}/{cmd}" and termopen() users can customize
   the name.
 * Update the documentation.
 * Add functional tests for `:terminal` sinse its behaviour now differs
   from termopen(). Add "test/functional/fixtures/shell-test.c" and move
   "test/functional/job/tty-test.c" there, too.

Helped-by: Justin M. Keyes <@justinmk>
2015-05-02 09:47:29 -04:00
..
api test: don't process vimrc #2511 2015-04-25 23:50:15 -04:00
autocmd test: Improve functional test debuggability and efficiency 2015-03-24 12:46:15 -03:00
clipboard clipboard: cleanup valid_yank_reg and use it for :redir 2015-04-17 16:12:32 +02:00
ex_cmds test regression: recover_spec.lua 2015-04-12 01:14:54 -04:00
fixtures term: use an argument vector for termopen(). 2015-05-02 09:47:29 -04:00
job term: use an argument vector for termopen(). 2015-05-02 09:47:29 -04:00
legacy vim-patch:7.4.710 2015-04-27 04:58:37 -04:00
runtime/autoload Add if_python3 support 2015-04-21 06:20:23 +09:00
server server: add unit tests 2015-04-14 15:31:04 -04:00
shell messages: Update common instances of Vim to Nvim #2031 2015-04-08 23:05:39 -04:00
terminal term: use an argument vector for termopen(). 2015-05-02 09:47:29 -04:00
ui vim-patch:7.4.659 + test 2015-05-01 16:45:02 -04:00
helpers.lua test: helpers.lua: add temporary set_session() function 2015-04-12 01:02:58 -04:00
preload.lua tests: prevent busted from reloading the ffi module and others 2015-03-01 15:25:39 -05:00