]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest: wic: improve extra-partition plugin tests
authorLouis Rannou <louis.rannou@non.se.com>
Mon, 12 Jan 2026 08:29:55 +0000 (09:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Jan 2026 16:50:56 +0000 (16:50 +0000)
commitcc6845a4c791a074a34e7be07cf2e2a6e2fbb23f
treee1ff3295523bb46c95caf918393112bf5f6289fa
parent45f9927a839df541b9db2ecd2e005c0fb47ed3ab
oeqa/selftest: wic: improve extra-partition plugin tests

Increase the number of inputs to check several files can be copied. Change
the partition type to GPT in order to avoid logical partitions.

Test various file systems and check the wic image partitions match.

Simplify 'wic ls' commands (remove pipes) and use '-n' to specify wic-tools
sysroot and avoid host contamination.

Also dedent the code just after the wic image is built to close the .wks
temporary file when its goal is achieved.

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/wic.py