]> granicus.if.org Git - vim/commitdiff
patch 9.0.1022: suspend test fails on Mac OS when suspending Vim v9.0.1022
authorBram Moolenaar <Bram@vim.org>
Tue, 6 Dec 2022 16:09:52 +0000 (16:09 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 6 Dec 2022 16:09:52 +0000 (16:09 +0000)
Problem:    Suspend test fails on Mac OS when suspending Vim.
Solution:   Make 'keyprotocol' empty.

src/testdir/test_suspend.vim
src/version.c

index ef8fea53ef21a1fc39e5c1d1f0c409b97337f2c9..5175c0f639e6136017df4db689ab74d1feaa90a2 100644 (file)
@@ -34,7 +34,7 @@ func Test_suspend()
 
   call term_sendkeys(buf, v:progpath
         \               . " --clean -X"
-        \               . " -c 'set nu'"
+        \               . " -c 'set nu keyprotocol='"
         \               . " -c 'call setline(1, \"foo\")'"
         \               . " Xfoo\<CR>")
   " Cursor in terminal buffer should be on first line in spawned vim.
@@ -84,7 +84,7 @@ func Test_suspend_autocmd()
 
   call term_sendkeys(buf, v:progpath
         \               . " --clean -X"
-        \               . " -c 'set nu'"
+        \               . " -c 'set nu keyprotocol='"
         \               . " -c 'let g:count = 0'"
         \               . " -c 'au VimSuspend * let g:count += 1'"
         \               . " -c 'au VimResume * let g:count += 1'"
index 10e56c1393c0ec5909a0de40a81be6871419c1ca..d4a3b1bf2078f6f48733de4a6146b9396a468dbc 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1022,
 /**/
     1021,
 /**/