]> code.ossystems Code Review - openembedded-core.git/commit
selftest/wic: Fix dependency issue in rawcopy test
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Mar 2021 13:30:36 +0000 (13:30 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 24 Mar 2021 14:30:32 +0000 (04:30 -1000)
commitd30a90062e29a3069f6e8d9f6d4eadd7a48adf4f
tree3ac9ed4bd0ba1d18db582c38460680ef44e125aa
parent9d166adde55ce8f0ba60c37c0679a99c947b2779
selftest/wic: Fix dependency issue in rawcopy test

The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.

Avoid this by using separate image targets instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 590398080e81fb5e2f81e12b8900858837dfe25f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/wic.py