{"thread":{"id":"43738","subject":"[PATCH] Set $HOME for selftests","startedAt":"2006-10-24T20:00:37Z","lastAt":"2006-10-24T20:00:37Z","messageCount":1,"participants":["Gerrit Pape"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"297576","messageId":"20061024200037.17087.qmail@d8dab9a84b4add.315fe32.mid.smarden.org","threadId":"43738","inReplyTo":null,"subject":"[PATCH] Set $HOME for selftests","fromName":"Gerrit Pape","fromEmail":"pape@smarden.org","sentAt":"2006-10-24T20:00:37Z","receivedAt":"2006-10-24T20:00:37Z","isPatch":true,"sender":{"key":"pape@smarden.org","avatar":"https://avatars.githubusercontent.com/u/143170252?v=4"},"body":"Set HOME environment variable to test trash directory and export for\nselftests.  This fixes the git-svn selftests with nonexistent or not\nreadable home, as found in at least one automated build system:\n\n http://buildd.debian.org/fetch.cgi?&pkg=git-core&ver=1%3A1.4.2.3-2&arch=alpha&stamp=1161537466&file=log\n\nSigned-off-by: Gerrit Pape <pape@smarden.org>\n\n---\n t/test-lib.sh |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/t/test-lib.sh b/t/test-lib.sh\nindex 2488e6e..07cb706 100755\n--- a/t/test-lib.sh\n+++ b/t/test-lib.sh\n@@ -207,7 +207,8 @@ # Test the binaries we have just built. \n # t/ subdirectory and are run in trash subdirectory.\n PATH=$(pwd)/..:$PATH\n GIT_EXEC_PATH=$(pwd)/..\n-export PATH GIT_EXEC_PATH\n+HOME=$(pwd)/trash\n+export PATH GIT_EXEC_PATH HOME\n \n # Similarly use ../compat/subprocess.py if our python does not\n # have subprocess.py on its own.\n-- \n1.4.2.3\n"}]}