From: Bram Moolenaar Date: Wed, 8 Aug 2018 09:02:32 +0000 (+0200) Subject: patch 8.1.0255: backup test fails when using shadow directory X-Git-Tag: v8.1.0255 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8f88f89e12df516c1fac5851b504238ebc1d2d4;p=vim patch 8.1.0255: backup test fails when using shadow directory Problem: Backup test fails when using shadow directory. Solution: Remove check for "src". --- diff --git a/src/testdir/test_backup.vim b/src/testdir/test_backup.vim index 3187b5887..0981efdce 100644 --- a/src/testdir/test_backup.vim +++ b/src/testdir/test_backup.vim @@ -29,7 +29,7 @@ func Test_backup2() sp *Xbackup.txt~ call assert_equal(['line1', 'line2', 'line3'], getline(1,'$')) let f=expand('%') - call assert_match('src%testdir%Xbackup.txt\~', f) + call assert_match('%testdir%Xbackup.txt\~', f) bw! bw! call delete('Xbackup.txt') @@ -49,7 +49,7 @@ func Test_backup2_backupcopy() sp *Xbackup.txt~ call assert_equal(['line1', 'line2', 'line3'], getline(1,'$')) let f=expand('%') - call assert_match('src%testdir%Xbackup.txt\~', f) + call assert_match('%testdir%Xbackup.txt\~', f) bw! bw! call delete('Xbackup.txt') diff --git a/src/version.c b/src/version.c index 099ea1fa2..76d47dd63 100644 --- a/src/version.c +++ b/src/version.c @@ -794,6 +794,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 255, /**/ 254, /**/