diff options
Diffstat (limited to 'data/vim/patches/8.1.0769')
-rw-r--r-- | data/vim/patches/8.1.0769 | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/data/vim/patches/8.1.0769 b/data/vim/patches/8.1.0769 deleted file mode 100644 index fd5fbdd56..000000000 --- a/data/vim/patches/8.1.0769 +++ /dev/null @@ -1,100 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.0769 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 8.1.0769 -Problem: :stop is covered in two tests. -Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly. - (Ozaki Kiichi, closes #3814) -Files: src/testdir/test_terminal.vim, src/testdir/test_suspend.vim - - -*** ../vim-8.1.0768/src/testdir/test_terminal.vim 2019-01-09 23:00:58.001176090 +0100 ---- src/testdir/test_terminal.vim 2019-01-17 22:11:01.022070824 +0100 -*************** -*** 1690,1728 **** - call delete('Xfile') - endfunc - -- func Test_stop_in_terminal() -- " We can't expect this to work on all systems, just test on Linux for now. -- if !has('unix') || system('uname') !~ 'Linux' -- return -- endif -- term /bin/sh -- let bufnr = bufnr('') -- call WaitForAssert({-> assert_equal('running', term_getstatus(bufnr))}) -- let lastrow = term_getsize(bufnr)[0] -- -- call term_sendkeys(bufnr, GetVimCommandClean() . "\r") -- call term_sendkeys(bufnr, ":echo 'ready'\r") -- call WaitForAssert({-> assert_match('ready', Get_terminal_text(bufnr, lastrow))}) -- -- call term_sendkeys(bufnr, ":stop\r") -- " Not sure where "Stopped" shows up, need five lines for Arch. -- call WaitForAssert({-> assert_match('Stopped', -- \ Get_terminal_text(bufnr, 1) . -- \ Get_terminal_text(bufnr, 2) . -- \ Get_terminal_text(bufnr, 3) . -- \ Get_terminal_text(bufnr, 4) . -- \ Get_terminal_text(bufnr, 5))}) -- -- call term_sendkeys(bufnr, "fg\r") -- call term_sendkeys(bufnr, ":echo 'back again'\r") -- call WaitForAssert({-> assert_match('back again', Get_terminal_text(bufnr, lastrow))}) -- -- call term_sendkeys(bufnr, ":quit\r") -- call term_wait(bufnr) -- call Stop_shell_in_terminal(bufnr) -- exe bufnr . 'bwipe' -- endfunc -- - func Test_terminal_no_job() - let term = term_start('false', {'term_finish': 'close'}) - call WaitForAssert({-> assert_equal(v:null, term_getjob(term)) }) ---- 1690,1695 ---- -*** ../vim-8.1.0768/src/testdir/test_suspend.vim 2018-11-03 21:09:11.703978920 +0100 ---- src/testdir/test_suspend.vim 2019-01-17 22:12:42.549139836 +0100 -*************** -*** 45,51 **** - call term_sendkeys(buf, "fg\<CR>") - call WaitForAssert({-> assert_equal(' 1 foo', term_getline(buf, '.'))}) - - exe buf . 'bwipe!' - call delete('Xfoo') -- set autowrite& - endfunc ---- 45,55 ---- - call term_sendkeys(buf, "fg\<CR>") - call WaitForAssert({-> assert_equal(' 1 foo', term_getline(buf, '.'))}) - -+ " Quit gracefully to dump coverage information. -+ call term_sendkeys(buf, ":qall!\<CR>") -+ call term_wait(buf) -+ call Stop_shell_in_terminal(buf) -+ - exe buf . 'bwipe!' - call delete('Xfoo') - endfunc -*** ../vim-8.1.0768/src/version.c 2019-01-17 21:09:02.049706334 +0100 ---- src/version.c 2019-01-17 22:13:42.644601977 +0100 -*************** -*** 793,794 **** ---- 793,796 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 769, - /**/ - --- -Marriage isn't a word. It's a sentence. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |