patch 8.1.0885: test for restricted hangs on MS-Windows GUI
Problem: Test for restricted hangs on MS-Windows GUI.
Solution: Skip the test.
diff --git a/src/testdir/test_restricted.vim b/src/testdir/test_restricted.vim
index 9dd937c..85da94c 100644
--- a/src/testdir/test_restricted.vim
+++ b/src/testdir/test_restricted.vim
@@ -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 == ''