set shell=csh
map! /tmp t:
cmap !rm !Delete all
+
+source setup.vim
if executable("cmd.exe")
set shell=cmd.exe
endif
+
+source setup.vim
cquit
endif
+" Common with all tests on all systems.
+source setup.vim
+
" For consistency run all tests with 'nocompatible' set.
" This also enables use of line continuation.
set nocp viminfo+=nviminfo
" Always use forward slashes.
set shellslash
-" Make sure $HOME does not get read or written.
-let $HOME = '/does/not/exist'
-
let s:srcdir = expand('%:p:h:h')
" Prepare for calling test_garbagecollect_now().
--- /dev/null
+" Common preparations for running tests.
+
+" Make sure 'runtimepath' does not include $HOME.
+set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
+
+" Only when the +eval feature is present.
+if 1
+ " Make sure $HOME does not get read or written.
+ let $HOME = '/does/not/exist'
+endif
+
" Settings for test script execution
" Always use "sh", don't use the value of "$SHELL".
set shell=sh
+
+source setup.vim
" Settings for test script execution under OpenVMS
-" Do not make any swap files
+" Do not use any swap files
set noswapfile
+
+source setup.vim
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2031,
/**/
2030,
/**/