comparison src/testdir/test_gui.vim @ 20508:357dea6b9fde v8.2.0808

patch 8.2.0808: not enough testing for the terminal window Commit: https://github.com/vim/vim/commit/98f1671cc0ab0ad6139cb9c6ce5262e7f646bc0a Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 22 13:34:01 2020 +0200 patch 8.2.0808: not enough testing for the terminal window Problem: Not enough testing for the terminal window. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6069) Fix memory leak.
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 May 2020 13:45:03 +0200
parents 86333cdb8cf8
children fbee68c6aab1
comparison
equal deleted inserted replaced
20507:6dd44f4380bd 20508:357dea6b9fde
848 let cmd = 'type' 848 let cmd = 'type'
849 else 849 else
850 " assume all the other systems have a cat command 850 " assume all the other systems have a cat command
851 let cmd = 'cat' 851 let cmd = 'cat'
852 endif 852 endif
853 let cmd = ':silent !' . cmd . " test_gui.vim\<CR>\<CR>" 853 exe "silent !" . cmd . " test_gui.vim"
854 call feedkeys(cmd, 'xt')
855 " TODO: how to check that the command ran in a separate terminal? 854 " TODO: how to check that the command ran in a separate terminal?
856 " Maybe check for $TERM (dumb vs xterm) in the spawned shell? 855 " Maybe check for $TERM (dumb vs xterm) in the spawned shell?
857 let &guioptions = save_guioptions 856 let &guioptions = save_guioptions
858 endfunc 857 endfunc
859 858