summaryrefslogtreecommitdiffstats
path: root/src/testdir/test49.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-10 13:30:12 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-10 13:30:12 +0200
commit1ac41a5c1352306942344777d2ba86dccd84ffad (patch)
tree17371b356f3e214da8605295511d1cf66623d1ad /src/testdir/test49.vim
parent93268054428fe3a6bbe3f89d2def2fec4eabcf5f (diff)
patch 8.1.2129: using hard coded executable path in testv8.1.2129
Problem: Using hard coded executable path in test. Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James McCoy, closes #5025)
Diffstat (limited to 'src/testdir/test49.vim')
-rw-r--r--src/testdir/test49.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test49.vim b/src/testdir/test49.vim
index bd6051461b..b6f6f6b5dc 100644
--- a/src/testdir/test49.vim
+++ b/src/testdir/test49.vim
@@ -1,6 +1,6 @@
" Vim script language tests
" Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com>
-" Last Change: 2019 May 24
+" Last Change: 2019 Oct 08
"-------------------------------------------------------------------------------
" Test environment {{{1
@@ -456,7 +456,7 @@ function ExtraVim(...)
" messing up the user's viminfo file.
let redirect = a:0 ?
\ " -c 'au VimLeave * redir END' -c 'redir\\! >" . a:1 . "'" : ""
- exec "!echo '" . debug_quits . "q' | ../vim -u NONE -N -Xes" . redirect .
+ exec "!echo '" . debug_quits . "q' | " .. v:progpath .. " -u NONE -N -Xes" . redirect .
\ " -c 'debuggreedy|set viminfo+=nviminfo'" .
\ " -c 'let ExtraVimBegin = " . extra_begin . "'" .
\ " -c 'let ExtraVimResult = \"" . resultfile . "\"'" . breakpoints .