* [PATCH] t/cindex: avoid reading default PI_CONFIG
@ 2023-08-24 22:07 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2023-08-24 22:07 UTC (permalink / raw)
To: meta
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-24 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24 22:07 [PATCH] t/cindex: avoid reading default PI_CONFIG Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).