| 1 |
From: Sergio Durigan Junior <[email protected]> |
| 2 |
Date: Wed, 2 Oct 2019 02:23:30 -0400 |
| 3 |
Subject: Make sure we create $HOME/.config/breezy/ before testing breezy. |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
--- |
| 7 |
tests.py | 5 +++++ |
| 8 |
1 file changed, 5 insertions(+) |
| 9 |
|
| 10 |
--- a/tests.py |
| 11 |
+++ b/tests.py |
| 12 |
@@ -1154,6 +1154,11 @@ |
| 13 |
command = 'bzr' |
| 14 |
|
| 15 |
def _init_vcs(self): |
| 16 |
+ # See Debian bug #941558. |
| 17 |
+ bzrconfig = os.path.expanduser ("~/.config/breezy/") |
| 18 |
+ if not os.path.exists (bzrconfig): |
| 19 |
+ os.makedirs (bzrconfig) |
| 20 |
+ |
| 21 |
self._run('bzr', 'init') |
| 22 |
self._run('bzr', 'whoami', '--branch', 'Unit Test <[email protected]>') |
| 23 |
|