]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(syntax-tests): Adapt "runtime/syntax/testdir/vimcmd" for "src/testdir/util...
authorAliaksei Budavei <0x000c70@gmail.com>
Fri, 9 Jan 2026 17:19:18 +0000 (17:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 9 Jan 2026 17:19:18 +0000 (17:19 +0000)
commit5516fc534ea03ba4ee42da2cc14e76d9d26151bc
tree3b32bc2e44fae556d7159402b64d84edc160a45a
parent0e0cb8520c02c2fa9efa25c8f2de30dd5c3655d3
runtime(syntax-tests): Adapt "runtime/syntax/testdir/vimcmd" for "src/testdir/util/shared.vim"

Problem:  When "util/shared.vim" is sourced and GetVimCommand is called on
          behalf of the syntax test runner, the "vimcmd" file will be searched
          in the current working directory, i.e. "src/testdir", whereas the
          desired file is in "runtime/syntax/testdir".
Solution: Temporarily copy "vimcmd" between test directories.

closes: #19127

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/testdir/runtest.vim