diff --git a/test/run b/test/run index e6d9408..b71681f 100755 --- a/test/run +++ b/test/run @@ -16,5 +16,9 @@ else git clone https://github.com/junegunn/vader.vim.git fi +# Provide viminfo during tests, remove it on exit. +cp viminfo viminfo.tmp +trap "{ rm viminfo.tmp; }" EXIT + echo '(Be patient.. testing can take a while.)' -HOME=/dev/null vim -XNu vimrc -i NONE -c 'Vader! *' >/dev/null +HOME=/dev/null vim -XNu vimrc -i viminfo.tmp -c 'Vader! *' diff --git a/test/viminfo b/test/viminfo new file mode 100644 index 0000000..fb458ed --- /dev/null +++ b/test/viminfo @@ -0,0 +1,2 @@ +> ../plugin/startify.vim + " 1 0