From 22aad488a173faa0fb4e946b1b4441f78c9c3098 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Aug 2023 22:07:37 +0000 Subject: [PATCH] t/cindex: avoid reading default PI_CONFIG I sometimes test on a machine with a broken ~/.public-inbox/config to detect inadvertant accesses in tests --- t/cindex.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/cindex.t b/t/cindex.t index 473287aa6..eca6cda2a 100644 --- a/t/cindex.t +++ b/t/cindex.t @@ -11,6 +11,7 @@ require PublicInbox::Import; my ($tmp, $for_destroy) = tmpdir(); my $pwd = getcwd(); my @unused_keys = qw(last_commit has_threadid skip_docdata); +local $ENV{PI_CONFIG} = '/dev/null'; # I reworked CodeSearchIdx->shard_worker to handle empty trees # in the initial commit generated by cvs2svn for xapian.git -- 2.47.2