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

Setting $HOME in the testsuite

From: Hyrum K Wright <hyrum_at_hyrumwright.org>
Date: Wed, 22 Dec 2010 18:37:09 -0600

More fallout from my issue #3765 work: I'm investing using ~/.svnrc to
provide default arguments to the commandline client. In doing so, it
makes loads of sense not to use the a developer's ~/.svnrc when
running the tests. Since this is found via the svn_user_get_homedir()
function, which uses the $HOME environment variable, we coud easily
redirect that to avoid this conflict. (It would also allow testing of
this feature.)

I know we provide a standard config directory in the testsuite, but
wouldn't it also be reasonable to create a dummy home directory?
Grepping through the python test suite yield no results for HOME, so I
assume we are currently using the developer's home directory.

-Hyrum
Received on 2010-12-23 01:37:51 CET

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.