]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/watch_maildir: note the reason for FIFO creation
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:14:52 +0000 (08:14 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:16:34 +0000 (08:16 +0000)
I had to dig through commit history for this and we should
better document our tests (along with everything else).

t/watch_maildir.t

index 30e94c1e5786a6dd62c1dc1f9c6259ba52fd5896..7178f29efe029e4815a30d2098790b9a0d07b08a 100644 (file)
@@ -31,7 +31,8 @@ Date: Sat, 18 Jun 2016 00:00:00 +0000
 something
 EOF
 PublicInbox::Emergency->new($maildir)->prepare(\$msg);
-ok(POSIX::mkfifo("$maildir/cur/fifo", 0777));
+ok(POSIX::mkfifo("$maildir/cur/fifo", 0777),
+       'create FIFO to ensure we do not get stuck on it :P');
 my $sem = PublicInbox::Emergency->new($spamdir); # create dirs
 
 my $config = PublicInbox::Config->new({