Mercurial > vim
comparison src/testdir/setup.vim @ 11850:eb339f9af281 v8.0.0805
patch 8.0.0805: GUI test fails with gnome2
commit https://github.com/vim/vim/commit/d1ee0043c0360f6b504c0283edd2a844ef73a349
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 29 20:39:53 2017 +0200
patch 8.0.0805: GUI test fails with gnome2
Problem: GUI test fails with gnome2.
Solution: Set $HOME to an existing directory.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 29 Jul 2017 20:45:04 +0200 |
parents | bcab4e804c20 |
children | 825a4717f14a |
comparison
equal
deleted
inserted
replaced
11849:9299c7eeddde | 11850:eb339f9af281 |
---|---|
12 if $XAUTHORITY == '' | 12 if $XAUTHORITY == '' |
13 let $XAUTHORITY = $HOME . '/.Xauthority' | 13 let $XAUTHORITY = $HOME . '/.Xauthority' |
14 endif | 14 endif |
15 | 15 |
16 " Make sure $HOME does not get read or written. | 16 " Make sure $HOME does not get read or written. |
17 let $HOME = '/does/not/exist' | 17 " It must exist, gnome tries to create $HOME/.gnome2 |
18 let $HOME = getcwd() . '/XfakeHOME' | |
19 call mkdir($HOME) | |
18 endif | 20 endif |