# HG changeset patch # User Christian Brabandt # Date 1696868105 -7200 # Node ID 9590b7cf5a51a0795e4d89b8cf23932b8973074b # Parent 591a47eb907cc53a87e3612e537957448134ccd7 patch 9.0.2008: test: undofile left behind Commit: https://github.com/vim/vim/commit/b07b9dc4dafe2aad5ee752a51f06acacae210fef Author: Dominique Pell? Date: Mon Oct 9 18:07:24 2023 +0200 patch 9.0.2008: test: undofile left behind 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 Co-authored-by: Dominique Pell? diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim --- 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 --- 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,