Set $HOME for selftests
commit2eb10ac7b51c8bb2257e5e2dea85929675de3fd1
authorGerrit Pape <pape@smarden.org>
Tue, 24 Oct 2006 20:00:37 +0000 (24 20:00 +0000)
committerJunio C Hamano <junkio@cox.net>
Tue, 24 Oct 2006 21:38:46 +0000 (24 14:38 -0700)
treecaf4b9ab4cf65ede1684816152bdf1d8a891b36f
parenta153adf683d2b6e22c7e892ed8a161b140156186
Set $HOME for selftests

Set HOME environment variable to test trash directory and export for
selftests.  This fixes the git-svn selftests with nonexistent or not
readable home, as found in at least one automated build system:

 http://buildd.debian.org/fetch.cgi?&pkg=git-core&ver=1%3A1.4.2.3-2&arch=alpha&stamp=1161537466&file=log

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/test-lib.sh