From: Jeff King <peff@peff.net>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: git@vger.kernel.org
Subject: Re: [WIP/RFH/PATCH 3/3] t/lib-git-svn: adjust config to apache 2.4
Date: Fri, 10 Apr 2015 05:39:54 +0200 [thread overview]
Message-ID: <20150410033953.GC11280@peff.net> (raw)
In-Reply-To: <20150410032317.GB11280@peff.net>
On Fri, Apr 10, 2015 at 05:23:17AM +0200, Jeff King wrote:
> Curiously, though, the git-svn tests seem to run fine for me on Apache
> 2.4 without your patch. I wonder if the fixes I mentioned above (which I
> definitely needed to get the regular http tests running on Debian back
> then) are not necessary on my system anymore (e.g., because the apache2
> package now ships with better-compatible config).
Ah, I see. I am not in fact running apache.
If you do not set SVN_HTTPD_PORT (which I don't), then lib-git-svn.sh's
start_httpd silently returns success without bothering to setup the
apache server at all. And yet the rest of the tests run to completion
just fine.
It looks like setting this variable is a way to say "run the same set of
tests, but do it over svn-over-httpd instead of svn's direct filesystem
access". Setting SVN_HTTPD_PORT does cause the tests to fail for me.
I don't know how important it is to run these tests over httpd. If so,
it would be nice to do something like lib-httpd does: try the apache
setup by default, and if it fails, gracefully skip the tests (or
fallback to the non-httpd version).
I'm also not sure if there's value in running both the httpd and
local-filesystem forms of the test. IOW, should we be factoring out the
tests and having two separate scripts that set $svnrepo as appropriate,
and then runs the tests?
-Peff
next prev parent reply other threads:[~2015-04-10 3:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 15:05 [PATCH 0/3] Make httpd tests run Michael J Gruber
2015-04-08 15:05 ` [PATCH 1/3] t/lib-httpd: load mod_unixd Michael J Gruber
[not found] ` <5525A208.6060807@web.de>
2015-04-09 9:27 ` Michael J Gruber
2015-04-10 3:09 ` Jeff King
2015-04-08 15:05 ` [PATCH 2/3] t/lib-git-svn: check same httpd module dirs as lib-httpd Michael J Gruber
2015-04-08 15:05 ` [WIP/RFH/PATCH 3/3] t/lib-git-svn: adjust config to apache 2.4 Michael J Gruber
2015-04-08 20:26 ` Eric Wong
2015-04-09 9:33 ` Michael J Gruber
2015-04-09 19:11 ` Eric Wong
2015-04-10 3:23 ` Jeff King
2015-04-10 3:39 ` Jeff King [this message]
2015-04-13 10:14 ` Michael J Gruber
2015-04-09 13:04 ` [PATCH 0/3] Make httpd tests run Kyle J. McKay
2015-04-09 13:14 ` Kyle J. McKay
2015-05-11 11:54 ` [PATCHv2 0/4] Make httpd tests run v2 Michael J Gruber
2015-05-11 11:54 ` [PATCHv2 1/4] t/lib-httpd: load mod_unixd Michael J Gruber
2015-05-11 11:54 ` [PATCHv2 2/4] t/lib-git-svn: check same httpd module dirs as lib-httpd Michael J Gruber
2015-05-11 11:54 ` [PATCH 3/4] t/t91*: do not say how to avoid the tests Michael J Gruber
2015-05-11 11:54 ` [PATCHv2 4/4 (was 3/3, still WIP)] t/lib-git-svn: adjust config to apache 2.4 WIP Michael J Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150410033953.GC11280@peff.net \
--to=peff@peff.net \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).