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 0889C1FA18 for ; Thu, 21 Oct 2021 21:10:33 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 03/15] t/lei-p2q: extra diagnostics Date: Thu, 21 Oct 2021 21:10:20 +0000 Message-Id: <20211021211032.22666-4-e@80x24.org> In-Reply-To: <20211021211032.22666-1-e@80x24.org> References: <20211021211032.22666-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I got one mysterious test failure here, once, and can't seem to reproduce it... --- t/lei-p2q.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lei-p2q.t b/t/lei-p2q.t index 495d81de78a5..bf40a43be466 100644 --- a/t/lei-p2q.t +++ b/t/lei-p2q.t @@ -7,7 +7,7 @@ require_mods(qw(json DBD::SQLite Search::Xapian)); test_lei(sub { ok(!lei(qw(p2q this-better-cause-format-patch-to-fail)), - 'p2q fails on bogus arg'); + 'p2q fails on bogus arg') or diag $lei_err; like($lei_err, qr/format-patch.*failed/, 'notes format-patch failure'); lei_ok(qw(p2q -w dfpost t/data/0001.patch)); is($lei_out, "dfpost:6e006fd73b1d\n", 'pathname') or diag $lei_err;