summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominique Pellé <dominique.pelle@tomtom.com>2023-10-09 18:07:24 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-09 18:09:20 +0200
commitb07b9dc4dafe2aad5ee752a51f06acacae210fef (patch)
tree5e9c96e1de566b9e77e73c70b16233f4d9184ae9
parente4671890220ef3f2bca43fde6ffe5d3ef3ed0e42 (diff)
patch 9.0.2008: test: undofile left behindv9.0.2008
Problem: test: undofile left behind Solution: cleanup undofile fix: tmp file not deleted when running make test_undo Temporary file `.Xtestfile.txt.un~` was left running `make test_undo` and vim was configured with: ``` ./configure --with-features=normal --enable-gui=no --enable-terminal ``` closes: #13304 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
-rw-r--r--src/testdir/test_undo.vim1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index 58563bde63..13c4990b8c 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -860,6 +860,7 @@ func Test_undo_after_write()
call StopVimInTerminal(buf)
call delete('Xtestfile.txt')
+ call delete('.Xtestfile.txt.un~')
endfunc
func Test_undo_range_normal()
diff --git a/src/version.c b/src/version.c
index 489ecb871e..56f317dd14 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2008,
+/**/
2007,
/**/
2006,