]> granicus.if.org Git - vim/commitdiff
patch 8.2.0749: TERM signal test fails on FreeBSD v8.2.0749
authorBram Moolenaar <Bram@vim.org>
Wed, 13 May 2020 14:53:49 +0000 (16:53 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 13 May 2020 14:53:49 +0000 (16:53 +0200)
Problem:    TERM signal test fails on FreeBSD.
Solution:   Do not check the messages, the may appear anywhere. (Dominique
            Pelle, closes #6075)

src/testdir/test_signals.vim
src/version.c

index cb84f5e1aa148b989591a4da58ca2d23d71a127b..0008e31fb753797f47a85239e175c016a5cc6061 100644 (file)
@@ -136,8 +136,6 @@ func Test_deadly_signal_TERM()
 
   call assert_false(filereadable('Xsig_TERM'))
   exe 'silent !kill -s TERM '  .. pid_vim
-  call WaitForAssert({-> assert_equal('Vim: Caught deadly signal TERM', term_getline(buf, 1))})
-  call WaitForAssert({-> assert_match('Vim: preserving files\.\.\.$', term_getline(buf, 2))})
   call WaitForAssert({-> assert_true(filereadable('.Xsig_TERM.swp'))})
 
   " Don't call StopVimInTerminal() as it expects job to be still running.
index 7881e3211ece182dd2a41c663cd275aa15c7e730..dae9357179b5aeb653f5388557989191a0c6cf0f 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    749,
 /**/
     748,
 /**/