user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH] t/v2index-late-dedupe: don't read user's ~/.public-inbox/config
@ 2021-10-23 19:09 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-10-23 19:09 UTC (permalink / raw)
  To: meta

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-23 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-23 19:09 [PATCH] t/v2index-late-dedupe: don't read user's ~/.public-inbox/config Eric Wong

Code repositories for project(s) associated with this inbox:

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).