From: Eric Wong Date: Thu, 26 Dec 2019 06:48:02 +0000 (+0000) Subject: t/www_listing: quiet down stderr in -httpd X-Git-Tag: v1.3.0~187 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=39ac2f20f40c202b9ef0278c477cd4ba91573163;p=public-inbox.git t/www_listing: quiet down stderr in -httpd We need to init all.git for the v2 repo test to ensure `git --git-dir=v2/all.git rev-parse --git-path objects/info/alternates` doesn't warn or fail and clutter stderr. This is noticeable when setting TAIL="tail -F" in env before running this test. --- diff --git a/t/www_listing.t b/t/www_listing.t index 4fcb43ea..2ff053de 100644 --- a/t/www_listing.t +++ b/t/www_listing.t @@ -72,6 +72,7 @@ SKIP: { my @clone = qw(git clone -q -s --bare); is(system(@clone, $bare->{git_dir}, $alt), 0, 'clone shared repo'); + system(qw(git init --bare -q), "$v2/all.git") == 0 or die; for my $i (0..2) { is(system(@clone, $alt, "$v2/git/$i.git"), 0, "clone epoch $i"); }