mirror of
git://git.yoctoproject.org/poky.git
synced 2025-08-21 16:31:39 +02:00
![]() There are multiple problems with the sstate creation tests. They currently both execute twice, once to check one set of files, then another. We can do this together in one test which makes the code easier to follow. The common test function also has parameters which were always the same value, so those can be simplified. We can use the umask context manager from bb.utils to simplfy the umask code. The badperms test was actually broken, it was detecting bad permissions, then ignoring them. This patch fixes that regression too and allows the check to operate (relying on a separate fix to sstate umask handling). The result should be an easier to understand couple of test cases which should also function correctly and be more reliable. (From OE-Core rev: 4951d08046f66e905e6ab4bdd7af347c7ed14c64) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b9263040013199c5cb480125d5ca349f5d6dc55) Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Signed-off-by: Steve Sakoman <steve@sakoman.com> |
||
---|---|---|
.. | ||
bbconfigbuild | ||
bblayers | ||
oe | ||
oeqa | ||
patchtest |