From: Bram Moolenaar Date: Thu, 3 Dec 2015 16:21:28 +0000 (+0100) Subject: patch 7.4.953 X-Git-Tag: v7.4.953 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de0ad40cb3c1bc691a754698ed16a5b6cdb4086b;p=vim 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) --- 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 diff --git a/src/version.c b/src/version.c index 887a2cba4..3cdc86fa7 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 953, /**/ 952, /**/