Mercurial > vim
annotate src/testdir/unix.vim @ 23966:09bde146adcb v8.2.2525
patch 8.2.2525: Vim9: only local variables checked for a name
Commit: https://github.com/vim/vim/commit/e0890d678d4d31ca1810c90f3afe2ba89dfedcfa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 17 14:52:14 2021 +0100
patch 8.2.2525: Vim9: only local variables checked for a name
Problem: Vim9: only local variables checked for a name.
Solution: Also check arguments and script variables. (closes https://github.com/vim/vim/issues/7838)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Feb 2021 15:00:04 +0100 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
rev | line source |
---|---|
7 | 1 " Settings for test script execution |
2 " Always use "sh", don't use the value of "$SHELL". | |
3 set shell=sh | |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
4 |
10791
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
5 " Only when the +eval feature is present. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
6 if 1 |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
7 " While some tests overwrite $HOME to prevent them from polluting user files, |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
8 " we need to remember the original value so that we can tell external systems |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
9 " where to ask about their own user settings. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
10 let g:tester_HOME = $HOME |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
11 endif |
10775
d08655e2633a
patch 8.0.0277: the GUI test may trigger fontconfig and take a long time
Christian Brabandt <cb@256bit.org>
parents:
9501
diff
changeset
|
12 |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
13 source setup.vim |