patch 9.0.0607: verbose echo message test fails on Mac OS

Problem:    Verbose echo message test fails on Mac OS.
Solution:   Skip the test on Mac OS.
This commit is contained in:
Bram Moolenaar
2022-09-27 15:55:43 +01:00
parent 524c853e5e
commit f802767df7
3 changed files with 12 additions and 1 deletions

View File

@ -111,6 +111,14 @@ func CheckNotBSD()
endif
endfunc
" Command to check for not running on a MacOS
command CheckNotMac call CheckNotMac()
func CheckNotMac()
if has('mac')
throw 'Skipped: does not work on MacOS'
endif
endfunc
" Command to check for not running on a MacOS M1 system.
command CheckNotMacM1 call CheckNotMacM1()
func CheckNotMacM1()

View File

@ -339,7 +339,8 @@ endfunc
" Test verbose message before echo command
func Test_echo_verbose_system()
CheckRunVimInTerminal
CheckUnix
CheckUnix " needs the "seq" command
CheckNotMac " doesn't use /tmp
let buf = RunVimInTerminal('', {'rows': 10})
call term_sendkeys(buf, ":4 verbose echo system('seq 20')\<CR>")

View File

@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
607,
/**/
606,
/**/