]> granicus.if.org Git - vim/commitdiff
patch 8.1.0885: test for restricted hangs on MS-Windows GUI v8.1.0885
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Feb 2019 10:13:12 +0000 (11:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Feb 2019 10:13:12 +0000 (11:13 +0100)
Problem:    Test for restricted hangs on MS-Windows GUI.
Solution:   Skip the test.

src/testdir/test_restricted.vim
src/version.c

index 9dd937cf3e009c1e06a2979c7c2e3326646ec478..85da94c4188869c82d11ec5deaa31a85269368a9 100644 (file)
@@ -2,6 +2,11 @@
 
 source shared.vim
 
+if has('win32') && has('gui')
+  " Win32 GUI shows a dialog instead of displaying the error in the last line.
+  finish
+endif
+
 func Test_restricted()
   let cmd = GetVimCommand('Xrestricted')
   if cmd == ''
index b08bd822848f523b7284c056782886f0e4a22792..641d8020ca2fcbabb22546a652b15aa6a555e02f 100644 (file)
@@ -783,6 +783,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    885,
 /**/
     884,
 /**/