patch 8.2.3742: dec mouse test fails without gnome terminfo entry
Problem: Dec mouse test fails without gnome terminfo entry.
Solution: Check if there is a gnome entry. Also fix 'acd' test on
MS-Windows. (Dominique Pellé, closes #9282)
This commit is contained in:
committed by
Bram Moolenaar
parent
e031fe90cf
commit
f589fd3e10
@ -43,12 +43,12 @@ func Test_set_filename_other_window()
|
||||
finally
|
||||
set noacd
|
||||
call chdir(cwd)
|
||||
call delete('Xa', 'rf')
|
||||
call delete('Xb', 'rf')
|
||||
call delete('Xc', 'rf')
|
||||
bwipe! aaa.txt
|
||||
bwipe! bbb.txt
|
||||
bwipe! ccc.txt
|
||||
call delete('Xa', 'rf')
|
||||
call delete('Xb', 'rf')
|
||||
call delete('Xc', 'rf')
|
||||
endtry
|
||||
endfunc
|
||||
|
||||
|
||||
@ -2041,6 +2041,10 @@ endfunc
|
||||
|
||||
" Check that when DEC mouse codes are recognized a special key is handled.
|
||||
func Test_ignore_dec_mouse()
|
||||
silent !infocmp gnome >/dev/null 2>&1
|
||||
if v:shell_error != 0
|
||||
throw 'Skipped: gnome entry missing in the terminfo db'
|
||||
endif
|
||||
|
||||
new
|
||||
let save_mouse = &mouse
|
||||
|
||||
@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3742,
|
||||
/**/
|
||||
3741,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user