From 4ab2b43c8fd73e6fcbf12bdb135194c534cc4886 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 10 Oct 2023 05:56:28 +0800 Subject: vim-patch:9.0.2008: test: undofile left behind (#25567) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: vim/vim#13304 https://github.com/vim/vim/commit/b07b9dc4dafe2aad5ee752a51f06acacae210fef Co-authored-by: Dominique Pellé --- test/old/testdir/test_undo.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/test/old/testdir/test_undo.vim b/test/old/testdir/test_undo.vim index b75b6f9b0d..a06731cc96 100644 --- a/test/old/testdir/test_undo.vim +++ b/test/old/testdir/test_undo.vim @@ -868,6 +868,7 @@ func Test_undo_after_write() call StopVimInTerminal(buf) call delete('Xtestfile.txt') + call delete('.Xtestfile.txt.un~') endfunc func Test_undo_range_normal() -- cgit