From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6406F1FAF3 for ; Mon, 19 Mar 2018 08:15:04 +0000 (UTC) From: "Eric Wong (Contractor, The Linux Foundation)" To: meta@public-inbox.org Subject: [PATCH 20/27] t/watch_maildir: note the reason for FIFO creation Date: Mon, 19 Mar 2018 08:14:52 +0000 Message-Id: <20180319081459.10645-21-e@80x24.org> In-Reply-To: <20180319081459.10645-1-e@80x24.org> References: <20180319081459.10645-1-e@80x24.org> List-Id: I had to dig through commit history for this and we should better document our tests (along with everything else). --- t/watch_maildir.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/watch_maildir.t b/t/watch_maildir.t index 30e94c1..7178f29 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({ -- EW