From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 303881FA3D for ; Tue, 17 Oct 2023 23:38:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1697585899; bh=z8PpQDKtE+SbjLR1ykgFvBQWK/MpCKa9tz5hIK0W6dM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sEFOzRLwjwZBcyyYgN/6VXLTrdWQDssdva/yNBVij4jkc+6+j9cANtZoO5tKSOXcN aka6GYBT/QJbiRnHqIRzbcVhh71vxOPigiTIHdLfDpjvzMr0F6MwnRNwP8JoNgKq4b 4TbIXNelz6ChCtmfbaJxbml5xoEYtm2xUR/MmpeQ= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 18/30] t/lei-up: additional diagnostics for match failures Date: Tue, 17 Oct 2023 23:38:03 +0000 Message-ID: <20231017233815.1637932-19-e@80x24.org> In-Reply-To: <20231017233815.1637932-1-e@80x24.org> References: <20231017233815.1637932-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I'm not sure why, but this test just failed for some odd reason from `make check-run' on my Debian bullseye workstatation. --- t/lei-up.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/lei-up.t b/t/lei-up.t index baed6507..2d3afd82 100644 --- a/t/lei-up.t +++ b/t/lei-up.t @@ -18,11 +18,11 @@ test_lei(sub { gunzip("$home/$x.mbox.gz" => \$uc, MultiStream => 1) or xbail "gunzip $GunzipError"; ok(index($uc, $qp->body_raw) >= 0, - "original mail in $x.mbox.gz"); + "original mail in $x.mbox.gz") or diag $uc; open my $fh, '<', "$home/$x" or xbail $!; $uc = do { local $/; <$fh> } // xbail $!; ok(index($uc, $qp->body_raw) >= 0, - "original mail in uncompressed $x"); + "original mail in uncompressed $x") or diag $uc; } lei_ok qw(ls-search); $s = eml_load('t/utf8.eml')->as_string;