patch 8.1.2260: terminal test may fail on MS-Windows

Problem:    Terminal test may fail on MS-Windows.
Solution:   Catch the situation that "term dir" fails with a CreateProcess
            error.
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index 10e1075..43a9384 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -2226,8 +2226,12 @@
     bwipe!
   elseif has('win32')
     " dir is a shell builtin command, should fail without a shell.
-    term dir /b runtest.vim
-    call WaitForAssert({-> assert_match('job failed\|cannot access .*: No such file or directory', term_getline(bufnr(), 1))})
+    try
+      term dir /b runtest.vim
+      call WaitForAssert({-> assert_match('job failed\|cannot access .*: No such file or directory', term_getline(bufnr(), 1))})
+    catch /CreateProcess/
+      " ignore
+    endtry
     bwipe!
 
     term ++shell dir /b runtest.vim