Commit 545260d2 authored by szager@chromium.org's avatar szager@chromium.org

Configure HOME for the gerrit process.

This prevents jgit from parsing the user's existing ~/.gitconfig,
which can skew test results.

BUG=

Review URL: https://codereview.chromium.org/27752003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@229245 0039d316-1c4b-4281-b951-d872f2087c98
parent f2d7d6b5
...@@ -157,6 +157,8 @@ cat <<EOF > "${rundir}/etc/gerrit.config" ...@@ -157,6 +157,8 @@ cat <<EOF > "${rundir}/etc/gerrit.config"
listenAddress = *:${ssh_port} listenAddress = *:${ssh_port}
[sendemail] [sendemail]
enable = false enable = false
[container]
javaOptions = -Duser.home=${rundir}/tmp
EOF EOF
# Initialize the gerrit instance. # Initialize the gerrit instance.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment