From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9D1F11F670 for ; Tue, 26 Oct 2021 10:47:34 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] t/lei-watch: add diagnostics for failure Date: Tue, 26 Oct 2021 10:47:34 +0000 Message-Id: <20211026104734.23961-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I just got a difficult-to-reproduce failure, here; so there's still some issues with the up-to-dateness of the inotify watcher. --- t/lei-watch.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lei-watch.t b/t/lei-watch.t index df887a03dc77..9158571c60cc 100644 --- a/t/lei-watch.t +++ b/t/lei-watch.t @@ -58,7 +58,7 @@ test_lei(sub { lei_ok qw(q mid:testmessage@example.com -o), $md2, '-I', "$ro_home/t1"; my @f2 = glob("$md2/*/*"); is(scalar(@f2), 1, 'got one result'); - like($f2[0], qr/S\z/, 'seen set from rename'); + like($f2[0], qr/S\z/, 'seen set from rename') or diag explain(\@f2); my $e2 = eml_load($f2[0]); my $e1 = eml_load("$f[0]S"); is_deeply($e2, $e1, 'results match');