Skip to content

Commit de0ad40

Browse files
committed
patch 7.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)
1 parent 6cd1345 commit de0ad40

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/runtest.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ endfor
7676

7777
if fail == 0
7878
" Success, create the .res file so that make knows it's done.
79-
split %:r.res
79+
exe 'split ' . fnamemodify(testname, ':r') . '.res'
8080
write
8181
endif
8282

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
953,
744746
/**/
745747
952,
746748
/**/

0 commit comments

Comments
 (0)