vim-patch:8.2.2499: "vim -g --version" does not redirect output (#13922)

Problem:    "vim -g --version" does not redirect output.
Solution:   Reset gui.starting when showing version info. (closes vim/vim#7815)
3b678047bc

N/A patches for version.c:

vim-patch:8.1.2065: compiler warning building non-GUI with MinGW.

Problem:    Compiler warning building non-GUI with MinGW.
Solution:   Adjust #ifdefs. (Yegappan Lakshmanan, closes vim/vim#4964)
910c378d93

vim-patch:8.2.2500: build fails without the GUI feature

Problem:    Build fails without the GUI feature.
Solution:   Add #ifdef.
0bcadf14aa

vim-patch:8.2.2502: a few github actions are failing

Problem:    A few github actions are failing.
Solution:   Install setuptools-rust. (closes vim/vim#7823)
ca753ec862

vim-patch:8.2.2507: github build may fail if Ubuntu 20.04 is used

Problem:    Github build may fail if Ubuntu 20.04 is used.  Installing rust is
            not needed.
Solution:   Specify ubuntu-18.04 instead of latest. Update "pip" instead of
            installing rust. (Ozaki Kiichi, closes vim/vim#7820)
0fa09676c2
This commit is contained in:
Jan Edmund Lazo
2021-02-13 12:00:36 -05:00
committed by GitHub
parent 8399f48ca9
commit 5ad32885d4

View File

@@ -1,5 +1,8 @@
" Test :version Ex command " Test :version Ex command
so check.vim
so shared.vim
func Test_version() func Test_version()
" version should always return the same string. " version should always return the same string.
let v1 = execute('version') let v1 = execute('version')
@@ -9,4 +12,15 @@ func Test_version()
call assert_match("^\n\nNVIM v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+.*", v1) call assert_match("^\n\nNVIM v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+.*", v1)
endfunc endfunc
func Test_version_redirect()
CheckNotGui
CheckCanRunGui
CheckUnix
call RunVim([], [], '--clean -g --version >Xversion 2>&1')
call assert_match('Features included', readfile('Xversion')->join())
call delete('Xversion')
endfunc
" vim: shiftwidth=2 sts=2 expandtab " vim: shiftwidth=2 sts=2 expandtab