Problem: Autocommand test fails when run directly, passes when run as part
of test_alot.
Solution: Add command to make the cursor move. Close a tab page.
endfunc
func Test_cursorhold_insert()
+ " Need to move the cursor.
+ call feedkeys("ggG", "xt")
+
let g:triggered = 0
au CursorHoldI * let g:triggered += 1
set updatetime=20
augroup END
call setline(1, ['a', 'b', 'c'])
edit! a.txt
+ tabclose
endfunc
" SEGV occurs in older versions. (At least 7.4.2321 or older)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2346,
/**/
2345,
/**/