about summary refs log tree commit homepage
path: root/t/watch_maildir.t
diff options
context:
space:
mode:
Diffstat (limited to 't/watch_maildir.t')
-rw-r--r--t/watch_maildir.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/watch_maildir.t b/t/watch_maildir.t
index a2c09b03..c8658140 100644
--- a/t/watch_maildir.t
+++ b/t/watch_maildir.t
@@ -184,10 +184,10 @@ More majordomo info at  http://vger.kernel.org/majordomo-info.html\n);
                         my $ino_fdinfo = "/proc/$wm->{pid}/fdinfo/$ino_fd";
                         while (time < $end && open(my $fh, '<', $ino_fdinfo)) {
                                 @ino_info = grep(/^inotify wd:/, <$fh>);
-                                last if @ino_info >= 4;
+                                last if @ino_info >= 3;
                                 tick;
                         }
-                        $sleep = undef if @ino_info >= 4;
+                        $sleep = undef if @ino_info >= 3;
                 }
         }
         if ($sleep) {