Oops, we shouldn't attempt to read a users' actual HOME when
running -index, since mine has a bunch of invalid entries in
there.
---
 t/lei-mirror.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/lei-mirror.t b/t/lei-mirror.t
index b449e0b4..294eb654 100644
--- a/t/lei-mirror.t
+++ b/t/lei-mirror.t
@@ -167,6 +167,7 @@ SKIP: {
        my $after = [ glob("$d/t1/*") ];
        is_deeply($before, $after, 'no new files created');
 
+       local $ENV{HOME} = $tmpdir;
        ok(run_script([qw(-index -Lbasic), "$d/t1"]), 'index v1');
        ok(run_script([qw(-index -Lbasic), "$d/t2"]), 'index v2');
        my $f = "$d/t1/public-inbox/msgmap.sqlite3";
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/

Reply via email to