diff options
Diffstat (limited to 'src/testdir/setup.vim')
-rw-r--r-- | src/testdir/setup.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim index a02840158b..4b6c089637 100644 --- a/src/testdir/setup.vim +++ b/src/testdir/setup.vim @@ -8,7 +8,11 @@ endif " Only when the +eval feature is present. if 1 + " Make sure the .Xauthority file can be found after changing $HOME. + if $XAUTHORITY == '' + let $XAUTHORITY = $HOME . '/.Xauthority' + endif + " Make sure $HOME does not get read or written. let $HOME = '/does/not/exist' endif - |