diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-03 17:21:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-03 17:21:28 +0100 |
commit | de0ad40cb3c1bc691a754698ed16a5b6cdb4086b (patch) | |
tree | a184c10b53c44513216100cf095a37840710ceee /src/testdir | |
parent | 6cd1345307440491580e5e86cb82c54ee9a46baa (diff) | |
download | vim-git-de0ad40cb3c1bc691a754698ed16a5b6cdb4086b.tar.gz |
patch 7.4.953v7.4.953
Problem: When a test script navigates to another buffer the .res file is
created with the wrong name.
Solution: Use the "testname" for the .res file. (Damien)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/runtest.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 8589bf693..0dc142eb9 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -76,7 +76,7 @@ endfor if fail == 0 " Success, create the .res file so that make knows it's done. - split %:r.res + exe 'split ' . fnamemodify(testname, ':r') . '.res' write endif |