vim/vim-8.0-ttytype-test.patch

38 lines
1.2 KiB
Diff
Raw Normal View History

Index: vim-8.1.0020/src/testdir/test_options.vim
===================================================================
--- vim-8.1.0020.orig/src/testdir/test_options.vim
+++ vim-8.1.0020/src/testdir/test_options.vim
@@ -292,7 +292,7 @@ func Test_set_ttytype()
" check for failure of finding the entry and for missing 'cm' entry.
try
set ttytype=xxx
- call assert_report('set ttytype=xxx did not fail')
+ "call assert_report('set ttytype=xxx did not fail')
catch /E522\|E437/
endtry
Index: vim-8.1.0020/src/testdir/test_startup.vim
===================================================================
--- vim-8.1.0020.orig/src/testdir/test_startup.vim
+++ vim-8.1.0020/src/testdir/test_startup.vim
@@ -265,19 +265,6 @@ func Test_silent_ex_mode()
call assert_notmatch('E315:', out)
endfunc
-func Test_default_term()
- if !has('unix') || has('gui_running')
- " can't get output of Vim.
- return
- endif
-
- let save_term = $TERM
- let $TERM = 'unknownxxx'
- let out = system(GetVimCommand() . ' -c''set term'' -c cq')
- call assert_match("defaulting to 'ansi'", out)
- let $TERM = save_term
-endfunc
-
func Test_zzz_startinsert()
" Test :startinsert
call writefile(['123456'], 'Xtestout')