# HG changeset patch # User Bram Moolenaar # Date 1545676207 -3600 # Node ID 74bc96b99f4f7f08374d5e2dacb0a13f51f9849f # Parent 254dcd9a941d627f771edd7955ad811eb2a1adbd patch 8.1.0631: test for :stop fails on Arch commit https://github.com/vim/vim/commit/d6024e2dd4e0c1556d9b69e61c4059fa78e5609d Author: Bram Moolenaar Date: Mon Dec 24 19:15:20 2018 +0100 patch 8.1.0631: test for :stop fails on Arch Problem: Test for :stop fails on Arch. Solution: Check five lines for the expected output. (closes https://github.com/vim/vim/issues/3714) diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim --- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -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") diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 631, +/**/ 630, /**/ 629,