blob: dee3de21208d452772ead0435ea3d66867e2d5ea [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 Moolenaar66459b72016-08-06 19:01:55 +02005let &packpath = &rtp
Bram Moolenaar89b10422016-07-12 22:51:22 +02006
7" Only when the +eval feature is present.
8if 1
9 " Make sure $HOME does not get read or written.
10 let $HOME = '/does/not/exist'
11endif
12