Mercurial > vim
view src/testdir/unix.vim @ 16336:b1e69c9e4c67 v8.1.1173
patch 8.1.1173: suspend test has duplicated lines
commit https://github.com/vim/vim/commit/a8356bc1734195d130c6eeaf4858356ae3a3f722
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 14 14:31:11 2019 +0200
patch 8.1.1173: suspend test has duplicated lines
Problem: Suspend test has duplicated lines.
Solution: Use a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Apr 2019 14:45:04 +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