view src/testdir/test16.in @ 7852:8818755d8326 v7.4.1223

commit https://github.com/vim/vim/commit/a542c680a8b42cb766e64d4ee7374ef4dacb7832 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 31 16:28:04 2016 +0100 patch 7.4.1223 Problem: Crash when setting v:errors to a number. Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jan 2016 16:30:04 +0100
parents f2978794e801
children
line wrap: on
line source

Tests for resetting "secure" flag after GUI has started.
For KDE set a font, empty 'guifont' may cause a hang.

STARTTEST
:so small.vim
:if $DISPLAY == "" | e! test.ok | wq! test.out | endif
:set exrc secure
:if has("gui_kde")
:  set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0
:endif
:gui -f
:.,$w! test.out
:qa!
ENDTEST

	just some text