From ffec6dd16a766180429addaa78928c773a3c9832 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sun, 27 Jun 2021 22:09:59 +0200 Subject: 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 #8469) --- src/testdir/test_startup.vim | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/testdir/test_startup.vim') 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. -- cgit v1.2.3