Skip to content

Commit

Permalink
Fudge the environment passed to git
Browse files Browse the repository at this point in the history
Change-Id: I7b1e4f2d9c747f4560745a1d1cad65317182a63b
  • Loading branch information
jrha committed Jul 26, 2018
1 parent c0066e8 commit bb1f083
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/broker/brokertest.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@ def gitcommand_raw(self, command, **kwargs):
args = [command]
args.insert(0, self.config.lookup_tool("git"))
env = self.gitenv(kwargs.pop("env", None))
env["HOME"] = os.environ.get("HOME", "/home/travis")

p = Popen(args, stdout=PIPE, stderr=PIPE, env=env, **kwargs)
return p

Expand Down

0 comments on commit bb1f083

Please sign in to comment.