summaryrefslogtreecommitdiff
path: root/src/testdir/test16.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-10-11 04:44:33 +0200
committerBram Moolenaar <Bram@vim.org>2012-10-11 04:44:33 +0200
commit172ddb60c2401cd24c80a096709226e37592111f (patch)
tree8724fa7ee3859c34cd26cd7f62c83268a3f07dc9 /src/testdir/test16.in
parentb73568149f2f41a84b9b701ae512adbd79b2e93b (diff)
downloadvim-172ddb60c2401cd24c80a096709226e37592111f.zip
updated for version 7.3.687
Problem: Test 16 fails when $DISPLAY is not set. Solution: Skip the test when $DISPLAY is not set.
Diffstat (limited to 'src/testdir/test16.in')
-rw-r--r--src/testdir/test16.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test16.in b/src/testdir/test16.in
index aa00517a3..b2cd159a8 100644
--- a/src/testdir/test16.in
+++ b/src/testdir/test16.in
@@ -2,6 +2,7 @@ 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