aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_startup.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-01-16 09:19:22 +0100
committerJustin M. Keyes <justinkz@gmail.com>2023-01-16 11:27:35 +0100
commit26d6e27973d693d5b31d2420bccac2f12343463c (patch)
tree91d1ab309fbf5b3af0db44b78431ed6b82d6b3b9 /src/nvim/testdir/test_startup.vim
parent48144525bfb66b7a99668bd8c25b79d43c7798ff (diff)
downloadrneovim-26d6e27973d693d5b31d2420bccac2f12343463c.tar.gz
rneovim-26d6e27973d693d5b31d2420bccac2f12343463c.tar.bz2
rneovim-26d6e27973d693d5b31d2420bccac2f12343463c.zip
vim-patch:8.2.3070: not enough testing for shell use
Problem: Not enough testing for shell use. Solution: Add a bit more testing. (Yegappan Lakshmanan, closes vim/vim#8469) https://github.com/vim/vim/commit/ffec6dd16a766180429addaa78928c773a3c9832 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/testdir/test_startup.vim')
-rw-r--r--src/nvim/testdir/test_startup.vim21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim
index 54b7636f69..b294d62ab4 100644
--- a/src/nvim/testdir/test_startup.vim
+++ b/src/nvim/testdir/test_startup.vim
@@ -725,27 +725,6 @@ func Test_read_stdin()
call delete('Xtestout')
endfunc
-func Test_set_shell()
- let after =<< trim [CODE]
- call writefile([&shell], "Xtestout")
- quit!
- [CODE]
-
- if has('win32')
- let $SHELL = 'C:\with space\cmd.exe'
- let expected = '"C:\with space\cmd.exe"'
- else
- let $SHELL = '/bin/with space/sh'
- let expected = '"/bin/with space/sh"'
- endif
-
- if RunVimPiped([], after, '', '')
- let lines = readfile('Xtestout')
- call assert_equal(expected, lines[0])
- endif
- call delete('Xtestout')
-endfunc
-
func Test_progpath()
" Tests normally run with "./vim" or "../vim", these must have been expanded
" to a full path.