about summary refs log tree commit homepage
path: root/t/purge.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-24 00:22:35 +0000
committerEric Wong <e@80x24.org>2019-11-24 21:46:57 +0000
commitfda0f1721b2dc1d2852388473f7da50ff230a3b6 (patch)
treee2dad0e56636428780ccd25f508dde3d512f49e3 /t/purge.t
parentad6f26f3b9f0e428020d05667987556f8fcbec2f (diff)
downloadpublic-inbox-fda0f1721b2dc1d2852388473f7da50ff230a3b6.tar.gz
Newer versions of git enable the commit graph by default.
Since we blow away our temporary directories every test,
generating graphis is a waste and clutters stderr with
"Computing commit graph generation numbers" messages.
Diffstat (limited to 't/purge.t')
-rw-r--r--t/purge.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/purge.t b/t/purge.t
index 12644d69..db09b731 100644
--- a/t/purge.t
+++ b/t/purge.t
@@ -11,6 +11,7 @@ foreach my $mod (@mods) {
         plan skip_all => "missing $mod for t/purge.t" if $@;
 };
 use Cwd qw(abs_path); # we need this since we chdir below
+local $ENV{HOME} = abs_path('t');
 my $purge = abs_path('blib/script/public-inbox-purge');
 my ($tmpdir, $for_destroy) = tmpdir();
 use_ok 'PublicInbox::V2Writable';