vim/vim-8.0-ttytype-test.patch
Ismail Dönmez d2743eddbe - Update to revision 1358
* Too many changes to list
- Fixes CVE-2017-1000382 bsc#1065958
- Refresh patches:
  * disable-unreliable-tests.patch
  * vim-7.3-filetype_spec.patch
  * vim-7.4-disable_lang_no.patch
  * vim-7.4-highlight_fstab.patch
  * vim-8.0-ttytype-test.patch

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=456
2017-11-29 11:53:57 +00:00

38 lines
1.2 KiB
Diff

Index: vim-8.0.1358/src/testdir/test_options.vim
===================================================================
--- vim-8.0.1358.orig/src/testdir/test_options.vim
+++ vim-8.0.1358/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 ttype=xxx did not fail')
+ "call assert_report('set ttype=xxx did not fail')
catch /E522\|E437/
endtry
Index: vim-8.0.1358/src/testdir/test_startup.vim
===================================================================
--- vim-8.0.1358.orig/src/testdir/test_startup.vim
+++ vim-8.0.1358/src/testdir/test_startup.vim
@@ -251,19 +251,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')