aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-10-05 15:49:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-08 16:44:31 +0100
commitc3440b82cbe9c317f9961d61e12ea37fc9541ce0 (patch)
tree3f2fb6c2b86a7f5a65e92aee7f5465e6ed186128 /lib
parentbe39c2e926beebe78030fbe26c6737f08f960fcb (diff)
downloadbitbake-c3440b82cbe9c317f9961d61e12ea37fc9541ce0.tar.gz
tests/fetch: prefix the FetcherTest temporary directory
Set a prefix so the temporary directories are identifable. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index af292a216..6978cbfaa 100644
--- a/lib/bb/tests/fetch.py
+++ b/lib/bb/tests/fetch.py
@@ -376,7 +376,7 @@ class FetcherTest(unittest.TestCase):
def setUp(self):
self.origdir = os.getcwd()
self.d = bb.data.init()
- self.tempdir = tempfile.mkdtemp()
+ self.tempdir = tempfile.mkdtemp(prefix="bitbake-fetch-")
self.dldir = os.path.join(self.tempdir, "download")
os.mkdir(self.dldir)
self.d.setVar("DL_DIR", self.dldir)