blob: a02840158b5bc9a488c183231e9d4550e83b4b2a [file] [log] [blame]
Bram Moolenaar89b10422016-07-12 22:51:22 +02001" Common preparations for running tests.
2
Bram Moolenaar66459b72016-08-06 19:01:55 +02003" Make sure 'runtimepath' and 'packpath' does not include $HOME.
Bram Moolenaar89b10422016-07-12 22:51:22 +02004set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
Bram Moolenaarc96a2f32016-08-06 19:45:31 +02005if has('packages')
6 let &packpath = &rtp
7endif
Bram Moolenaar89b10422016-07-12 22:51:22 +02008
9" Only when the +eval feature is present.
10if 1
11 " Make sure $HOME does not get read or written.
12 let $HOME = '/does/not/exist'
13endif
14