Mercurial > vim
view src/testdir/test16.in @ 5312:8b5d80861c5e v7.4.009
updated for version 7.4.009
Problem: When a file was not decrypted (yet), writing it may destroy the
contents.
Solution: Mark the file as readonly until decryption was done. (Christian
Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 25 Aug 2013 17:46:08 +0200 |
parents | 0545dab1517f |
children | f2978794e801 |
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 :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