X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fwatch_maildir.t;fp=t%2Fwatch_maildir.t;h=c8658140cf2de1ed6d97c2816f54cfcbd4e49617;hb=58c0333adbdd9f5f82309cb6eef3c379f0ff064e;hp=a2c09b0351b9ed4df55e0b56d73f209378554e1c;hpb=b2b1006759730507731fcd3fc3e0de68239e3b92;p=public-inbox.git 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) {