Skip to content
Commit 086e2ae7 authored by Richard Purdie's avatar Richard Purdie
Browse files

selftest/fetch: Avoid occasional selftest failure from poor temp file name choice



The temp file name may contain "_" characters. Switch to a temporary directory
and a fixed filename to avoid this to avoid errors like:

bb.data_smart.ExpansionError: Failure expanding variable PN, expression was
${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}
which triggered exception ParseError:
ParseError in /tmp/tmpd_f2__to.bb: Unable to generate default variables from
filename (too many underscores)

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 4edcfbac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment