patch 7.4.1520
Problem:    Channel test: Waiting for a file to appear doesn't work.
Solution:   In waitFor() ignore errors.
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index 15d849c..061b30c 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -103,9 +103,12 @@
 " Wait for up to a second for "expr" to become true.
 func s:waitFor(expr)
   for i in range(100)
-    if eval(a:expr)
-      return
-    endif
+    try
+      if eval(a:expr)
+	return
+      endif
+    catch
+    endtry
     sleep 10m
   endfor
 endfunc
diff --git a/src/version.c b/src/version.c
index be05a45..15baf5d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1520,
+/**/
     1519,
 /**/
     1518,