Bug 749771 - Set HOME directory for Android xpcshell tests. r=jmaher

This commit is contained in:
Geoff Brown 2012-05-04 22:46:36 -04:00
parent 4562b3524a
commit ae9ad92333

View File

@ -228,6 +228,7 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
env["GRE_HOME"]=self.appRoot
env["XPCSHELL_TEST_PROFILE_DIR"]=self.profileDir
env["TMPDIR"]=self.remoteTmpDir
env["HOME"]=self.profileDir
outputFile = "xpcshelloutput"
f = open(outputFile, "w+")
self.shellReturnCode = self.device.shell(cmd, f, cwd=self.remoteHere, env=env)