summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
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:45:05 +0100
commitc1e7369af1d55019d52ec1f752e6bc93cf27c0e3 (patch)
tree78c9e8f8a7f635ecd2d90576104b19428cb4b319 /bitbake/lib/bb/tests/fetch.py
parentcf9cc196dc9b98c54ddae55f2e808d7db27be4f3 (diff)
downloadpoky-c1e7369af1d55019d52ec1f752e6bc93cf27c0e3.tar.gz
bitbake: tests/fetch: prefix the FetcherTest temporary directory
Set a prefix so the temporary directories are identifable. (Bitbake rev: c3440b82cbe9c317f9961d61e12ea37fc9541ce0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index af292a2163..6978cbfaa0 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -376,7 +376,7 @@ class FetcherTest(unittest.TestCase):
376 def setUp(self): 376 def setUp(self):
377 self.origdir = os.getcwd() 377 self.origdir = os.getcwd()
378 self.d = bb.data.init() 378 self.d = bb.data.init()
379 self.tempdir = tempfile.mkdtemp() 379 self.tempdir = tempfile.mkdtemp(prefix="bitbake-fetch-")
380 self.dldir = os.path.join(self.tempdir, "download") 380 self.dldir = os.path.join(self.tempdir, "download")
381 os.mkdir(self.dldir) 381 os.mkdir(self.dldir)
382 self.d.setVar("DL_DIR", self.dldir) 382 self.d.setVar("DL_DIR", self.dldir)