unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] t/init.t: don't modify $HOME/.public-inbox/config in test
@ 2023-10-23  8:58 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2023-10-23  8:58 UTC (permalink / raw)
  To: meta

Oops :x
---
 t/init.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/init.t b/t/init.t
index 177c22b6..3d2c7873 100644
--- a/t/init.t
+++ b/t/init.t
@@ -217,6 +217,7 @@ SKIP: {
 }
 
 {
+	local $ENV{PI_DIR} = "$tmpdir/.public-inbox/";
 	my $cmd = [ qw(-init -C), "$tmpdir", qw(chdirlist chdirlist),
 		   qw(http://example.com/chdirlist chdirlist@example.com)];
 	ok(run_script($cmd), '-init with -C (chdir)');

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

only message in thread, other threads:[~2023-10-23  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23  8:58 [PATCH] t/init.t: don't modify $HOME/.public-inbox/config in test 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).