]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0613: tests: termdebug test may fail and leave file around v9.1.0613
authorChristian Brabandt <cb@256bit.org>
Wed, 24 Jul 2024 19:37:39 +0000 (21:37 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 24 Jul 2024 19:41:55 +0000 (21:41 +0200)
commit2979cfc2627d76a9c09cad46a1647dcd4aa73f5f
tree1fc04a1e62c7190d86c894029e8d8d1dc445a737
parentddbb6fe2d0344e93436c5602b7a06169f49a9b52
patch 9.1.0613: tests: termdebug test may fail and leave file around

Problem:  tests: termdebug test may fail and leave temp file around
          (Dominique PellĂ©)
Solution: only run balloon_show() if the function exists, validate
          termdebug is running using the g: termdebug_is_running var,
          use defer to delete temporary files

fixes: #15334

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
src/testdir/test_termdebug.vim
src/version.c