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 A1BE11F670 for ; Sat, 23 Oct 2021 19:09:35 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] t/v2index-late-dedupe: don't read user's ~/.public-inbox/config Date: Sun, 24 Oct 2021 04:09:35 +0900 Message-Id: <20211023190935.16118-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Otherwise things can get noisy if bad entries exist in that file, because they do. --- t/v2index-late-dupe.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/v2index-late-dupe.t b/t/v2index-late-dupe.t index c83e3409..d43e833b 100644 --- a/t/v2index-late-dupe.t +++ b/t/v2index-late-dupe.t @@ -10,6 +10,7 @@ require PublicInbox::Inbox; require PublicInbox::Git; my ($tmpdir, $for_destroy) = tmpdir(); my $inboxdir = "$tmpdir/i"; +local $ENV{HOME} = $tmpdir; PublicInbox::Import::init_bare(my $e0 = "$inboxdir/git/0.git"); open my $fh, '>', "$inboxdir/inbox.lock" or xbail $!; my $git = PublicInbox::Git->new($e0);