view src/testdir/unix.vim @ 23432:a8602bad9e9a v8.2.2259

patch 8.2.2259: Test_Executable() fails when using chroot Commit: https://github.com/vim/vim/commit/a387083b2f65c2c14b19087c7d7f94ca23de1d48 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 1 14:20:44 2021 +0100 patch 8.2.2259: Test_Executable() fails when using chroot Problem: Test_Executable() fails when using chroot. Solution: Ignore the difference between "sbin" and "bin".
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 Jan 2021 14:30:03 +0100
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