diff options
author | Eric Wong <e@80x24.org> | 2021-10-13 10:16:09 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-13 19:52:26 +0000 |
commit | 3f017d96973875b651d7dc456840d62c35968e2c (patch) | |
tree | 8af998643950a113ffa2db6b8736629e6048bf4e /t | |
parent | 00d5dff2cce9d2c9b5720c0971ae3fd995c22c94 (diff) | |
download | public-inbox-3f017d96973875b651d7dc456840d62c35968e2c.tar.gz |
Oops, we shouldn't attempt to read a users' actual HOME when running -index, since mine has a bunch of invalid entries in there.
Diffstat (limited to 't')
-rw-r--r-- | t/lei-mirror.t | 1 |
1 files changed, 1 insertions, 0 deletions
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"; |