view src/testdir/unix.vim @ 28643:5be5151ad510

patch 8.2.4845: duplicate code Commit: https://github.com/vim/vim/commit/590f365f91511c164253c5b5812d4d0fc4a238d6 Author: zeertzjq <zeertzjq@outlook.com> Date: Fri Apr 29 11:29:54 2022 +0100 patch 8.2.4845: duplicate code Problem: Duplicate code. Solution: Move code below if/else. (closes https://github.com/vim/vim/issues/10314)
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 Apr 2022 12:30: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