diff options
author | Ross Burton <ross@burtonini.com> | 2021-10-05 15:49:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-08 16:44:31 +0100 |
commit | c3440b82cbe9c317f9961d61e12ea37fc9541ce0 (patch) | |
tree | 3f2fb6c2b86a7f5a65e92aee7f5465e6ed186128 /lib | |
parent | be39c2e926beebe78030fbe26c6737f08f960fcb (diff) | |
download | bitbake-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.py | 2 |
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) |