]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 20 Mar 2021 18:50:05 +0000 (18:50 +0000)
commit590398080e81fb5e2f81e12b8900858837dfe25f
tree99098274bdadb83dc6f41880c43ba6a0a294ff55
parentf75a1eddc7c01d9a83d0a1114fc0d6aaa79d8806
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>
meta/lib/oeqa/selftest/cases/wic.py