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