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 473287aa..eca6cda2 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

Reply via email to