From: Eric Wong (Contractor, The Linux Foundation) Date: Mon, 19 Mar 2018 08:14:52 +0000 (+0000) Subject: t/watch_maildir: note the reason for FIFO creation X-Git-Tag: v1.1.0-pre1~150 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=82bd094dc2e2da6067fc089e37d538c171732e60 t/watch_maildir: note the reason for FIFO creation I had to dig through commit history for this and we should better document our tests (along with everything else). --- diff --git a/t/watch_maildir.t b/t/watch_maildir.t index 30e94c1e..7178f29e 100644 --- a/t/watch_maildir.t +++ b/t/watch_maildir.t @@ -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({