diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-06-27 22:09:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-27 22:09:59 +0200 |
commit | ffec6dd16a766180429addaa78928c773a3c9832 (patch) | |
tree | 2db2dbf38e06e49893dba99709db218ce8823c83 /src/testdir/test_startup.vim | |
parent | 108010aa4720ef023a8ac59004fc0f2bc11125af (diff) |
patch 8.2.3070: not enough testing for shell usev8.2.3070
Problem: Not enough testing for shell use.
Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
Diffstat (limited to 'src/testdir/test_startup.vim')
-rw-r--r-- | src/testdir/test_startup.vim | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index a6e52ce573..9872f0b4f5 100644 --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -733,27 +733,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. |