diff options
author | Eric Wong <e@80x24.org> | 2019-11-24 00:22:35 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-24 21:46:57 +0000 |
commit | fda0f1721b2dc1d2852388473f7da50ff230a3b6 (patch) | |
tree | e2dad0e56636428780ccd25f508dde3d512f49e3 /t/v2writable.t | |
parent | ad6f26f3b9f0e428020d05667987556f8fcbec2f (diff) | |
download | public-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/v2writable.t')
-rw-r--r-- | t/v2writable.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/v2writable.t b/t/v2writable.t index 7519b487..8bbcd45a 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -6,11 +6,13 @@ use Test::More; use PublicInbox::MIME; use PublicInbox::ContentId qw(content_digest); require './t/common.perl'; +use Cwd qw(abs_path); require_git(2.6); foreach my $mod (qw(DBD::SQLite Search::Xapian)) { eval "require $mod"; plan skip_all => "$mod missing for nntpd.t" if $@; } +local $ENV{HOME} = abs_path('t'); use_ok 'PublicInbox::V2Writable'; umask 007; my ($inboxdir, $for_destroy) = tmpdir(); |