view src/testdir/unix.vim @ 20427:0ab8f8880a33 v8.2.0768

patch 8.2.0768: Vim9: memory leak in script test Commit: https://github.com/vim/vim/commit/e75ba268b35a9b3a1f8b47668e657259555fc5fa Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 16 15:43:31 2020 +0200 patch 8.2.0768: Vim9: memory leak in script test Problem: Vim9: memory leak in script test. Solution: Clear typval before giving an error message.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 May 2020 15:45:03 +0200
parents bfd636b8e259
children dbec60b8c253
line wrap: on
line source

" Settings for test script execution
" Always use "sh", don't use the value of "$SHELL".
set shell=sh

" Only when the +eval feature is present. 
if 1
  " While some tests overwrite $HOME to prevent them from polluting user files,
  " we need to remember the original value so that we can tell external systems
  " where to ask about their own user settings.
  let g:tester_HOME = $HOME
endif

source setup.vim