diff src/testdir/test_startup.vim @ 25066:4c366bbf6073 v8.2.3070

patch 8.2.3070: not enough testing for shell use Commit: https://github.com/vim/vim/commit/ffec6dd16a766180429addaa78928c773a3c9832 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Jun 27 22:09:59 2021 +0200 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 https://github.com/vim/vim/issues/8469)
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Jun 2021 22:15:05 +0200
parents d8216679a971
children 7dbd3a65a04b
line wrap: on
line diff
--- 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.