view src/testdir/setup.vim @ 11223:ac36e139510f v8.0.0498

patch 8.0.0498: two autocmd tests are skipped on MS-Windows commit https://github.com/vim/vim/commit/e94260f3582cf928cc59e792b3b6ede57794a4a6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 21 15:50:12 2017 +0100 patch 8.0.0498: two autocmd tests are skipped on MS-Windows Problem: Two autocmd tests are skipped on MS-Windows. Solution: Make the test pass on MS-Windows. Write the messages in a file instead of getting the output of system().
author Christian Brabandt <cb@256bit.org>
date Tue, 21 Mar 2017 16:00:05 +0100
parents 60a06c331524
children bcab4e804c20
line wrap: on
line source

" Common preparations for running tests.

" Make sure 'runtimepath' and 'packpath' does not include $HOME.
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
if has('packages')
  let &packpath = &rtp
endif

" Only when the +eval feature is present. 
if 1
  " Make sure $HOME does not get read or written.
  let $HOME = '/does/not/exist'
endif