* [PATCH 1/3] t/www_listing: quiet down stderr in -httpd
2019-12-26 6:48 5% [PATCH 0/3] some test coverage improvements Eric Wong
@ 2019-12-26 6:48 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-12-26 6:48 UTC (permalink / raw)
To: meta
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.
---
t/www_listing.t | 1 +
1 file changed, 1 insertion(+)
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");
}
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] some test coverage improvements
@ 2019-12-26 6:48 5% Eric Wong
2019-12-26 6:48 7% ` [PATCH 1/3] t/www_listing: quiet down stderr in -httpd Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2019-12-26 6:48 UTC (permalink / raw)
To: meta
These were based on some bugs found by my patch series to
eliminate per-request closures from the WWW code:
https://public-inbox.org/meta/20191225075104.22184-1-e@80x24.org/
Fixes coming for to those...
Eric Wong (3):
t/www_listing: quiet down stderr in -httpd
t/www_listing: test "all" HTML listing
t/solver_git: test with -httpd, too
t/solver_git.t | 42 +++++++++++++++++++++++++++++++-----------
t/www_listing.t | 8 +++++++-
2 files changed, 38 insertions(+), 12 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-12-26 6:48 5% [PATCH 0/3] some test coverage improvements Eric Wong
2019-12-26 6:48 7% ` [PATCH 1/3] t/www_listing: quiet down stderr in -httpd Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).