diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-05-14 14:33:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-09 11:10:58 +0100 |
commit | 8463c062909dba7367d56105cc56126ba971984e (patch) | |
tree | 14e4048f307305974cfefc08899c3b417b19cef7 /meta/lib/oeqa/oetest.py | |
parent | 4d03d1880f8467faac8b77d958fbdc873e386f36 (diff) | |
download | poky-8463c062909dba7367d56105cc56126ba971984e.tar.gz |
bitbake: tests/fetch: ensure fetch tests preserve current dir
The fetcher calls os.chdir() in a number of places, which can affect
other tests (since the directory it changes into gets deleted) - let's
just put the current directory back to where it was when we're done.
(This fixes bb.tests.Path.test_unsafe_delete_path failing if it was run
as part of a full bitbake-selftest run, where the fetcher tests get to
run before it.)
(Bitbake rev: fdb6c123593fd2255b9b09e6bdf7306d64a82892)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
0 files changed, 0 insertions, 0 deletions