build tests seem to run with $HOME set to cwd or tree root
Bug #140874 reported by
Martin Pool
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
lp://staging/~gz/bzr/run_test_setup_in_tempdir_140874
- Vincent Ladeuil: Needs Fixing
-
Diff: 81 lines (+17/-19)2 files modifiedbzrlib/tests/test_setup.py (+14/-19)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
Changed in bzr: | |
status: | Triaged → Confirmed |
Changed in bzr: | |
assignee: | nobody → Martin Packman (gz) |
milestone: | none → 2.6b2 |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
They shouldbe getting run with an isolated HOME in /tmp/<testid>, or something like that.