summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-26 18:45:37 +0200
committerChristian Brabandt <cb@256bit.org>2024-08-26 18:45:37 +0200
commitd56c451e1c05310562c5282352d7bb287c16323c (patch)
tree35661af16c4a0ef2a9a8e225d2d5cc82605ea289
parent322ba9108612bead5eb7731ccb66763dec69ef1b (diff)
patch 9.1.0698: tests: "Untitled" file not removed when running Test_crash1_3 alonev9.1.0698
Problem: tests: "Untitled" file not removed when running Test_crash1_3 alone with TEST_FILTER (after v9.1.0695) Solution: Use a TearDown function instead of another test. (zeertzjq) closes: #15578 closes: #15577 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--src/testdir/test_crash.vim6
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/testdir/test_crash.vim b/src/testdir/test_crash.vim
index 5ec103f6db..b3348761cf 100644
--- a/src/testdir/test_crash.vim
+++ b/src/testdir/test_crash.vim
@@ -237,9 +237,9 @@ func Test_crash2()
exe buf .. "bw!"
endfunc
-func Test_zz_cleanup()
- " That file is created at Test_crash1_2() by dialog_changed_uaf
- " but cleanup in that Test, doesn't remove it. Let's try again at
+func TearDown()
+ " That file is created at Test_crash1_3() by dialog_changed_uaf
+ " but cleaning up in that test doesn't remove it. Let's try again at
" the end of this test script
call delete('Untitled')
endfunc
diff --git a/src/version.c b/src/version.c
index 7f88c8c683..314a3207a8 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 */
/**/
+ 698,
+/**/
697,
/**/
696,