vim/vim-8.0-ttytype-test.patch
Ismail Dönmez 2364c79897 Accepting request 611530 from home:mimi_vx:branches:editors
- update to 8.1 revision 0020
- refresh disable-unreliable-tests.patch vim-8.0-ttytype-test.patch
- refresh vim73-no-static-libpython.patch
- added:
  * term command - built in terminal window
- fixes:
  * Using "gn" may select wrong text when wrapping.
  * Shell command completion has duplicates
  * Possible crash in term_wait()
  * qf_init_ext() is too long.
  * Using freed memory when changing terminal cursor color
  * maparg() and mapcheck() confuse empty and non-existing.
  * syn_id2cterm_bg() may be undefined.
  * :stopinsert changes the message position.
  * The netrw plugin does not work.
------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/request/show/611530
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=495
2018-05-23 12:03:50 +00:00

38 lines
1.2 KiB
Diff

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')