mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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 <cb@256bit.org> Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
This commit is contained in:
parent
e467189022
commit
b07b9dc4da
@ -860,6 +860,7 @@ func Test_undo_after_write()
|
|||||||
|
|
||||||
call StopVimInTerminal(buf)
|
call StopVimInTerminal(buf)
|
||||||
call delete('Xtestfile.txt')
|
call delete('Xtestfile.txt')
|
||||||
|
call delete('.Xtestfile.txt.un~')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_undo_range_normal()
|
func Test_undo_range_normal()
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2008,
|
||||||
/**/
|
/**/
|
||||||
2007,
|
2007,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user