Bram Moolenaar | 89b1042 | 2016-07-12 22:51:22 +0200 | [diff] [blame] | 1 | " Common preparations for running tests. |
| 2 | |
Bram Moolenaar | 66459b7 | 2016-08-06 19:01:55 +0200 | [diff] [blame] | 3 | " Make sure 'runtimepath' and 'packpath' does not include $HOME. |
Bram Moolenaar | 89b1042 | 2016-07-12 22:51:22 +0200 | [diff] [blame] | 4 | set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after |
Bram Moolenaar | 66459b7 | 2016-08-06 19:01:55 +0200 | [diff] [blame] | 5 | let &packpath = &rtp |
Bram Moolenaar | 89b1042 | 2016-07-12 22:51:22 +0200 | [diff] [blame] | 6 | |
| 7 | " Only when the +eval feature is present. |
| 8 | if 1 |
| 9 | " Make sure $HOME does not get read or written. |
| 10 | let $HOME = '/does/not/exist' |
| 11 | endif |
| 12 | |