[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Issue 4584] New - Non-canonical $HOME crashes GPG-agent support code

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 20 Jul 2015 14:05:09 +0100

I (Julian Foad) wrote:
> I have a one-line fix for this issue, which I've tested by hand:
> [...]
> I don't have an automated regression test. Should I go ahead and commit
> the fix anyway, and propose for backport to 1.8 and 1.9?

Of course, we would like to have a regression test. Can anyone help
me write one? I took a quick look in
subversion/tests/libsvn_subr/auth-test.c for inspiration and am a bit
lost where to start at that level.

If we go for a 'proper' fix, we could write a unit test for
svn_user_get_homedir(), which would be much easier than a regression
test for the authentication scenario with GPG-agent.

- Julian
Received on 2015-07-20 15:05:42 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.