Lines Matching refs:shell
1 " Test for the shell related options ('shell', 'shellcmdflag', 'shellpipe',
46 " start a new Vim instance with 'shell' set to each of the supported shells
47 " and check the default shell option settings
49 let l = [&shell, &shellcmdflag, &shellpipe, &shellquote]
55 if RunVim([], after, '--cmd "set shell=' .. e[0] .. '"')
62 exe 'set shell=' .. e[0]
80 " Try running an external command with the shell.
82 " set the shell options for the current 'shell'
90 call assert_report('Failed to run shell command, shell: ' .. e[0]
97 set shell& shellcmdflag& shellpipe& shellquote&
102 " Test for the 'shell' option
105 let save_shell = &shell
106 set shell=
109 shell
114 let &shell = save_shell
132 let save_shell = &shell
133 set shell=bash
147 set shell=tcsh
153 let &shell = save_shell
160 " The shell and cmdflag, and expected slash in tempname with shellslash set or
169 exe 'set shell=' .. e[0] .. ' | set shellcmdflag=' .. e[1]
184 let save_shell = &shell
190 set shell=./Xtestshell
209 let &shell = save_shell
216 " Test for using the shell set in the $SHELL environment variable
219 call writefile([&shell], "Xtestout")