build tests seem to run with $HOME set to cwd or tree root

Bug #140874 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Wishlist
Martin Packman
2.5
Fix Released
Wishlist
Martin Packman

Bug Description

 affects bzr
 importance wishlist
 status triaged

I have CC=ccache set in my environment. ccache creates a .ccache directory in
the home directory whenever it is run, if that directory does not
already exist. In bzr 0.92dev it seems that the setup tests are run
with $HOME set to the bzr source root, which seems wrong.

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :

They shouldbe getting run with an isolated HOME in /tmp/<testid>, or something like that.

Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Revision history for this message
Martin Packman (gz) wrote :

Fixing this as a side effect of wanting changes needed for installing mo files to be tested.

Revision history for this message
Vincent Ladeuil (vila) wrote :

> Fixing this as a side effect of wanting changes needed for installing mo files to be tested.

Right, perfect match for a post-install test suite no ?

Martin Packman (gz)
Changed in bzr:
assignee: nobody → Martin Packman (gz)
milestone: none → 2.6b2
status: Confirmed → In Progress
Martin Packman (gz)
Changed in bzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.