]> granicus.if.org Git - vim/commitdiff
patch 8.1.0631: test for :stop fails on Arch v8.1.0631
authorBram Moolenaar <Bram@vim.org>
Mon, 24 Dec 2018 18:15:20 +0000 (19:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 24 Dec 2018 18:15:20 +0000 (19:15 +0100)
Problem:    Test for :stop fails on Arch.
Solution:   Check five lines for the expected output. (closes #3714)

src/testdir/test_terminal.vim
src/version.c

index f31c221e1ffd0add5ef847f439ebdbfd561b00d1..71cf1b2c9281e5e65a95807d5602067b5e8234bb 100644 (file)
@@ -1705,11 +1705,13 @@ func Test_stop_in_terminal()
   call WaitForAssert({-> assert_match('ready', Get_terminal_text(bufnr, lastrow))})
 
   call term_sendkeys(bufnr, ":stop\r")
-  " Not sure where "Stopped" shows up, assume in the first three lines.
+  " Not sure where "Stopped" shows up, need five lines for Arch.
   call WaitForAssert({-> assert_match('Stopped',
        \ Get_terminal_text(bufnr, 1) . 
        \ Get_terminal_text(bufnr, 2) . 
-       \ Get_terminal_text(bufnr, 3))})
+       \ Get_terminal_text(bufnr, 3) . 
+       \ Get_terminal_text(bufnr, 4) . 
+       \ Get_terminal_text(bufnr, 5))})
 
   call term_sendkeys(bufnr, "fg\r")
   call term_sendkeys(bufnr, ":echo 'back again'\r")
index 1b9e3e0dcb00751f1469b38ad38f311f875d4855..d53ffac0e60b6cc7fbbae44910a39b9bdc061724 100644 (file)
@@ -799,6 +799,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    631,
 /**/
     630,
 /**/