about summary refs log tree commit
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-12-26 06:48:02 +0000
committerEric Wong <e@80x24.org>2019-12-26 07:27:00 +0000
commit39ac2f20f40c202b9ef0278c477cd4ba91573163 (patch)
tree16ce3e375cd9f508025d7ae40428b554f454918f /t
parenta5bd6a45e4d772e81e2dd4f76d4291f74fa15230 (diff)
downloadpublic-inbox-39ac2f20f40c202b9ef0278c477cd4ba91573163.tar.gz
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.
Diffstat (limited to 't')
-rw-r--r--t/www_listing.t1
1 files changed, 1 insertions, 0 deletions
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");
         }